projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update htsworkflow.util.fctracker module to work with the newer django db
[htsworkflow.git]
/
htsworkflow
/
util
/
fctracker.py
diff --git
a/htsworkflow/util/fctracker.py
b/htsworkflow/util/fctracker.py
index 57b5dcfa647a1815a28c9cd0b08a216ecdef3302..5ba33892f741213bb1932292e5821551df379295 100644
(file)
--- a/
htsworkflow/util/fctracker.py
+++ b/
htsworkflow/util/fctracker.py
@@
-81,8
+81,8
@@
class fctracker:
attach the library dictionary to the instance
"""
self.library = self._make_dict_from_table(
attach the library dictionary to the instance
"""
self.library = self._make_dict_from_table(
- '
fctracker
_library',
- '
library_
id')
+ '
samples
_library',
+ 'id')
def _get_species(self):
def _get_species(self):
@@
-90,7
+90,7
@@
class fctracker:
attach the species dictionary to the instance
"""
self.species = self._make_dict_from_table(
attach the species dictionary to the instance
"""
self.species = self._make_dict_from_table(
- '
fctracker
_species',
+ '
samples
_species',
'id'
)
'id'
)
@@
-106,7
+106,7
@@
class fctracker:
where = ""
self.flowcells = {}
c = self.conn.cursor()
where = ""
self.flowcells = {}
c = self.conn.cursor()
- c.execute('select * from
fctracker
_flowcell %s;' % (where))
+ c.execute('select * from
experiments
_flowcell %s;' % (where))
# extract just the field name
description = [ f[0] for f in c.description ]
for row in c:
# extract just the field name
description = [ f[0] for f in c.description ]
for row in c: