You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
I'm slowly discovering the various ways in which to make the gapfilling code throw a seg fault. So far, these can be captured and an appropriate error message can be returned, so I'm opening this thread as a means of recording what needs to be captured.
In general, the reporting system is a mess, there's several different files, and the same output goes to more than one file, yet, different output goes into different files, so finding the relevant output is hard.
The code crashes if an attempt is made to include the same compound in the same compartment on both sides of the equation. The model_import code flags these, but they need to be forcibly removed from the model before running FBA because somehow the FBA reaction-balancing code doesn't pick up on these. Since the reaction-balancing code is being written in PERL, we need to start disabling the use of the FBA balancing code, and picking up on the status messages in the database.
The code crashes if none of the environment variables are set correctly, it should be simple to test for the existence of these, especially the CPLEX licence variable, and to report their absence rather than let the code seg-fault.
The code seg faults if a biomass reaction is not present in the model. The weirdest thing here, that I've just managed to uncover after two days of testing, is that the gap-filling code actually believed that the biomass reaction was there, it had the right id, and was actively looking for it in the database, but somehow, it wasn't printed with the model itself. We need code that captures the attempt to find a reaction, and to finish cleanly.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm slowly discovering the various ways in which to make the gapfilling code throw a seg fault. So far, these can be captured and an appropriate error message can be returned, so I'm opening this thread as a means of recording what needs to be captured.
In general, the reporting system is a mess, there's several different files, and the same output goes to more than one file, yet, different output goes into different files, so finding the relevant output is hard.
The code crashes if an attempt is made to include the same compound in the same compartment on both sides of the equation. The model_import code flags these, but they need to be forcibly removed from the model before running FBA because somehow the FBA reaction-balancing code doesn't pick up on these. Since the reaction-balancing code is being written in PERL, we need to start disabling the use of the FBA balancing code, and picking up on the status messages in the database.
The code crashes if none of the environment variables are set correctly, it should be simple to test for the existence of these, especially the CPLEX licence variable, and to report their absence rather than let the code seg-fault.
The code seg faults if a biomass reaction is not present in the model. The weirdest thing here, that I've just managed to uncover after two days of testing, is that the gap-filling code actually believed that the biomass reaction was there, it had the right id, and was actively looking for it in the database, but somehow, it wasn't printed with the model itself. We need code that captures the attempt to find a reaction, and to finish cleanly.
The text was updated successfully, but these errors were encountered: