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: from1DNMRVariables #53

Merged
merged 9 commits into from
Aug 18, 2022
Merged

feat: from1DNMRVariables #53

merged 9 commits into from
Aug 18, 2022

Conversation

jobo322
Copy link
Member

@jobo322 jobo322 commented Aug 16, 2022

close: #52

@jobo322 jobo322 requested a review from lpatiny August 16, 2022 19:03
@jobo322 jobo322 linked an issue Aug 16, 2022 that may be closed by this pull request
Copy link
Member

@lpatiny lpatiny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to expose the new method in index.ts

export * from './from1DNMRVariables';

And this lead to a type script error, please have a look.

If you could also update a little bit the README and JsDoc it would be nice. It is completely outdated.

@@ -4,7 +4,8 @@ import { MeasurementXYVariables } from 'cheminfo-types';
import { convert } from 'jcampconverter';
import { xMultiply } from 'ml-spectra-processing';

import { fromVariables, JcampOptions } from '..';
import { JcampOptions } from '..';
import from1DNMRVariables from '../from1DNMRVariables';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because in this file we only test from1DNMRVariables, please rename the file to from1DNMRVariables.test.ts

@lpatiny lpatiny merged commit d72f34f into master Aug 18, 2022
@lpatiny lpatiny deleted the 52-from1dnmrvariables branch August 18, 2022 04:54
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.

from1DNMRVariables
2 participants