Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coinstacparsers

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinstacparsers

fsl, vbm and csv parsers

  • 0.0.3
  • PyPI
  • Socket score

Maintainers
1

coinstacparsers

This package includes fsl_parser, vbm_parser and csv parser. fsl_parser parses the freesurfer files (specified in inputspec.json) as dependencies and returns the covariates (X) and dependent (y) matrices as dataframes. The format of inputspec.json should be as shown in the example inputspec.json here. Similarly vbm_parser parses NIfTI images as dependencies and returns the covariates (X) and dependent (y) matrices as dataframes. csv_parser reads the values specified in inputspec.json file and returns the covariates (X) and dependent (y) matrices as dataframes.

How to install

pip install coinstacparsers

How to run

for fsl parser:
     import coinstacparsers
     from coinstacparsers import parsers
     args = json.loads(sys.stdin.read())
     (X, y) = parsers.fsl_parser(args)
for vbm parser:
     import coinstacparsers
     from coinstacparsers import parsers
     args = json.loads(sys.stdin.read())
     mask = os.path.join('/computation', mask_directory, mask_file_name)
     (X, y) = parsers.vbm_parser(args, mask) for csv parser:
     import coinstacparsers
     from coinstacparsers import parsers
     args = json.loads(sys.stdin.read())
     (X, y) = parsers.csv_parser(args)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc