smith-chem-wisc / FlashLFQ

Ultra-fast label-free quantification algorithm for mass-spectrometry proteomics
GNU Lesser General Public License v3.0
19 stars 15 forks source link

Could not run in Mac OS 13.6 #133

Open trinhxt opened 8 months ago

trinhxt commented 8 months ago

Hi,

I could run FlashLFQ normally on Windows and Linux, but it was not executable in Mac OS 13.6. I have dotnet 6.0.416 installed, and downloaded FlashLFQ 1.2.5.

The output when running dotnet CMD.dll --idt is:

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.BadImageFormatException: Could not load file or assembly 'FlashLFQ, Version=1.0.541.0, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.

File name: 'FlashLFQ, Version=1.0.541.0, Culture=neutral, PublicKeyToken=null'
   at Util.FlashLfqSettings..ctor()
   at System.RuntimeType.CreateInstanceOfT()
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceOfT()
   at System.Activator.CreateInstance[T]()
   at CommandLine.Core.InstanceBuilder.<>c__0`1.<Build>b__0_0(Func`1 f)
   at CSharpx.MaybeExtensions.MapValueOrDefault[T1,T2](Maybe`1 maybe, Func`2 func, T2 noneValue)
   at CommandLine.Core.InstanceBuilder.Build[T](Maybe`1 factory, Func`3 tokenizer, IEnumerable`1 arguments, StringComparer nameComparer, Boolean ignoreValueCase, CultureInfo parsingCulture, Boolean autoHelp, Boolean autoVersion, IEnumerable`1 nonFatalErrors)
   at CommandLine.Parser.ParseArguments[T](IEnumerable`1 args)
   at CMD.FlashLfqExecutable.Main(String[] args) in C:\projects\flashlfq\CMD\FlashLFQExecutable.cs:line 21
zsh: abort      dotnet CMD.dll

Any idea about the errors? The output mentioning FlashLFQ version of 1.0.541.0 is quite strange because I downloaded the latest version of FlashLFQ (1.2.5)

Thank you in advance!