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

Error when running Fusion/TMS2Independent example #26

Open
cwenger opened this issue Oct 20, 2024 · 1 comment
Open

Error when running Fusion/TMS2Independent example #26

cwenger opened this issue Oct 20, 2024 · 1 comment

Comments

@cwenger
Copy link

cwenger commented Oct 20, 2024

I am getting an error when I try to run the Fusion/TMS2Independent example. The full error with stack trace is:

xmlmethodchanger\bin\Release\XmlMethodChanger.exe -i examples\Fusion\TMS2Independent\TMS2IndependentTemplate.meth -m examples\Fusion\TMS2Independent\TMS2Independent.xml -o examples\Fusion\TMS2Independent\TMS2Independent.meth

template: examples\Fusion\TMS2Independent\TMS2IndependentTemplate.meth xml: examples\Fusion\TMS2Independent\TMS2Independent.xml output: examples\Fusion\TMS2Independent\TMS2Independent.meth model:  version:
model: OrbitrapFusion version:
ERROR - Error Importing Update Instructions XML
ExceptionSystem.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.HandleActivationParams(TMSnScan tMSNScan, CalciumTMSnScan mScan)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.ApplyModification(CalciumMethod method, Int32 index, TMSnScan tMSNScan, String label, Boolean requireModification)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.ApplyModification(CalciumMethod method, Experiment expModification, Int32 expIndex, CalciumExperiment experiment, String targetLabel, Boolean requireModification)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.ApplyModification(CalciumMethod method, Experiment exp)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.ApplyModification(CalciumMethod method, Modification mod)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.<>c__DisplayClass0_0.<Import>b__0(Modification o)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Thermo.TNG.Calcium.MethodXML.ModificationsImporter.Import(CalciumMethod method, MethodModifications data)
   at Thermo.TNG.Calcium.MethodXML.CalciumMethodXML.ApplyMethodModifications(MethodModifications data)
   at Thermo.TNG.Common.Method.MethodXML`2.ApplyMethodModificationsFromXML(String xmlData)

The Fusion/TMS2Dependent example works, while the Fusion/DIA example also fails, so it seems to be related to TMSnScan nodes.

@jesse-canterbury
Copy link
Contributor

Sorry for the delay on this. It's on our radar.

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