Python interface for the MaBoSS software (https://maboss.curie.fr)
thenlevy / pymaboss Goto Github PK
View Code? Open in Web Editor NEWpython interface for the MaBoSS software
python interface for the MaBoSS software
Python interface for the MaBoSS software (https://maboss.curie.fr)
I tried to create some mutations (using model.mutate or maboss.copy_and_mutate) and then wanted to copy the model to apply different changes: the mutations are missing from the copy.
Digging into the code, the network contains two copies of each node: one in network.nodeList and the other as dict value. The mutation is only changing the dict value, while the copy restarts from the nodeList.
I'm working on a patch to stop using a separate list of nodes and only rely on the inner dict (we can still use the list of names to get the order).
The constructor for a Simulation uses a default list of parameters as starting point. As the same dict is copied in all objects, we always end up with the same parameter set.
It can be solved by adding a call to copy() to the line self.param = _default_parameter_list
The current parser works well with the bnd/cfg files generated by GINsim, but fails on many handwritten files. Supporting all of MaBoSS syntax is a complex task, beyond the scope of the current parser, but we can handle a few more cases with minimal work.
The first two are easy to fix (pull request is following). For the variable assignment, it may be simpler to just store the value as string without trying to interpret it (it can depend on another variable): are there some parts of the code where we need to work with these values?
My last problem is that the current parser will ignore silently everything that appears after an unrecognized line: it should try to parse the remaining and show a warning message, maybe keep the failed lines as string to be able to write them in print_cfg() anyway.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.