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

isosim_test() showing error #1

Open
CarolinaCorona opened this issue Jul 26, 2023 · 2 comments
Open

isosim_test() showing error #1

CarolinaCorona opened this issue Jul 26, 2023 · 2 comments

Comments

@CarolinaCorona
Copy link

Error in isosim_test()

#Downloaded the zip file from GitHub page (https://github.com/MetaSys-LISBP/IsoSim)
#Unzipped the file and changed working directory for easier access to the R scripts

setwd("C:/.../IsoSim-2.0.0/isosim/")
source("nlsic.R")
source("isosim.R")

#Running isosim_test() showed the following error after "...calculate fluxes...":
Error in checkForRemoteErrors(val) :
2 nodes produced errors; first error: the condition has length > 1

#When running the isosim_test() line by line (after setin the working directory to original) and changing the numCores & mc.cores to NULL I do get more lines but it gets stuck at:

#calculate fluxes for all subsystems
res_sub <- fit_subsystems(subsystems, dirname="fit_minimal_subsystems", mc.cores=numCores)

#And the error is:
Error in if (class(a) != "qr") { : the condition has length > 1

Any idea how can I get it to work? I have RTools43 and R version 4.3.1 (2023-06-16 ucrt)

@pierremillard
Copy link
Member

Dear @CarolinaCorona ,

thanks for your message. Before trying to solve the error, could you let me know for which usage you want to use IsoSim?

If this is related to our work on ScalaFlux, just to let you know that the proposed approach has been implemented by @sgsokol in influx_si (software at https://github.com/sgsokol/influx ; doc at https://influx-si.readthedocs.io ). I use IsoSim mainly for development purposes, to test new approaches, but it has not been designed for users to be stable in a production environment (more as a poc). In contrast, influx is a more robust tool and should be used preferentially.

I'll try to fix the error anyway, I'll come back to you to get additional details.

Best,
Pierre

@CarolinaCorona
Copy link
Author

CarolinaCorona commented Jul 31, 2023 via email

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