Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: resurrect spectrum from publication string #74

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Conversation

hamed-musallam
Copy link
Collaborator

@hamed-musallam hamed-musallam commented Jan 19, 2024

  • migrate to TypeScript
  • refactor parse spectra file
  • resurrect spectrum from publication string

How to use the Command Line

Usage: nmr-cli  <command> [options]

Commands:
  parse-spectra  or ps               Parse a spectra file to NMRium file
  parse-publication-string or pps     resurrect spectrum from the publication string 

Options for 'parse-spectra' command:
  -u, --url           File URL
  -p, --path          Directory path
  -s, --capture-snapshot   Capture snapshot

Arguments for 'parse-publication-string' command:
  publicationString   Publication string

Examples:
  nmr-cli  parse-spectra -u file-url -s                                   // Process spectra files from a URL and capture an image for the spectra
  nmr-cli  parse-spectra -p directory-path -s                             // process a spectra files from a directory and capture an image for the spectra
  nmr-cli  parse-spectra -u file-url                                      // Process spectra files from a URL 
  nmr-cli  parse-spectra -p directory-path                                // Process spectra files from a directory 
  nmr-cli  parse-publication-string "your publication string"

@CS76 are you ok with the commands names parse-spectra or ps parse-publication-string or pps?

refactor: migrate to TypeScript
@CS76 CS76 merged commit d90c2fc into development Jan 20, 2024
1 check passed
@hamed-musallam hamed-musallam deleted the nmr-cli branch January 22, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants