Commits

Flashpoint committed 4c6214c

Shortened the p_val display statement in OWSetEnrichment.py

Comments (0)

Files changed (2)

_bioinformatics/widgets/OWSetEnrichment.py

                 item.setData(2, Qt.DisplayRole, QVariant(countFmt % (len(cmapped), 100.0*len(cmapped)/countAll)))
                 item.setData(2, Qt.ToolTipRole, QVariant(len(cmapped))) # For filtering
                 item.setData(3, Qt.DisplayRole, QVariant(refFmt % (len(rmapped), 100.0*len(rmapped)/len(referenceGenes))))
-                if p_val > 0.001:
-                    item.setData(4, Qt.DisplayRole, QVariant("%0.6f" % p_val))
-                else:
-                    item.setData(4, Qt.DisplayRole, QVariant("%0.2e" % p_val))
+                item.setData(4, Qt.DisplayRole, QVariant("%0.6f" % p_val)) if p_val > 0.001 else item.setData(4, Qt.DisplayRole, QVariant("%0.2e" % p_val))
                 item.setData(4, 42, QVariant(p_val))
                 #stoplec 4 - zelim sort po p_val
                 item.setData(4, Qt.ToolTipRole, QVariant("%0.10f" % p_val))

server_update/updateDictyBase.py

 
 print file_mutants
 
-sf_server.upload(fm_dom, fm_name, file_mutants, title="dictyBase mutant collection",
+sf_server.upload(fm_dom, fm_name, file_mutants, title="dictyBase mutant phenotypes",
     tags=DictyMutants.tags)
 sf_server.unprotect(fm_dom, fm_name)
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.