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

Add info about drag / drop .txt file #72

Open
lpatiny opened this issue Sep 21, 2022 · 2 comments
Open

Add info about drag / drop .txt file #72

lpatiny opened this issue Sep 21, 2022 · 2 comments
Assignees

Comments

@lpatiny
Copy link
Member

lpatiny commented Sep 21, 2022

Most of the tools allows to drag / drop a text file that is internally converted to JCAMP-DX file format but the text format is nowhere written.

Here are the rules to parse the text file:

  • only the lines containing numbers are considered
  • we split the lines based on comma, semi-column or tabulation
  • we take the first and second column to create the JCAMP-DX file

@remisch Please could you add a 'tip' that can open everywhere we discuss about drag / drop a txt file ?

@lpatiny
Copy link
Member Author

lpatiny commented Sep 27, 2022

@lpatiny
Copy link
Member Author

lpatiny commented Sep 27, 2022

Example:

#"+ESI Scan (rt: 1.013-2.488 min, 446 scans) Frag=120.0V 13C-DNA-digested.d  Subtract "
#Point,X(Thompsons),Y(Counts)
0,100.0016,0.376953125
1,100.0045,0.772047996520996
2,100.0073,0.492866039276123
3,100.0102,0
4,100.0131,0
5,100.0159,0.287199020385742
6,100.0188,0.831634521484375
7,100.0217,1.11020517349243
8,100.0245,0.920641422271729

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

No branches or pull requests

2 participants