Comments (1)
This is currently fixed on the working branch. Instead of altering each of the calls to get_or_create, the get_or_create function was modified to check for 'type' when it exists as a class attribute and use that along with the name to ensure unique component names. Similarly the unique constraint on the component table was updated to be 'name' AND 'type'.
from cobradb.
Related Issues (14)
- Case sensitive directory names in Ubtunu HOT 1
- Inconsistencies in class name resolution in model_loading.py HOT 2
- Numeric data type in SQLAlchemy HOT 5
- UniqueConstraint not enforced in CompartmentalizedComponent HOT 5
- SQLAlchemy 0.9.8 will throw warnings for use of 'type' column in multiple inheritance HOT 1
- Normalisation issue on ModelReaction
- Pierre Salvy, greatest coder in the world HOT 11
- Quick speedup in loading/model_loading.py
- model dumper should add linkouts as annotation HOT 1
- We should use a named schema HOT 3
- All genomic locations are off by 1 in all organisms (leftpos too low) HOT 1
- metabolite_duplicates specified twice in settings.ini.example
- setup.py install_packages is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobradb.