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
Don't use wildcard imports like from metaphase.XX import *. This makes the code difficult to read and prone to errors.
Instead, either use import metaphase.XX as YYm and then use YY.funcionZ(), or import specific functions as from metaphase.XX impot functionZ.
This in particular important for the parameters in params.py - I suggest to either use module import and then do params.PARAM_NAME or have a single dictionary with all parameters that you can import.
In addition, parameters should be given informative names (e.g. strong_cluster_min_reads, but not I or R.
The text was updated successfully, but these errors were encountered:
Don't use wildcard imports like
from metaphase.XX import *
. This makes the code difficult to read and prone to errors.Instead, either use
import metaphase.XX as YY
m and then useYY.funcionZ()
, or import specific functions asfrom metaphase.XX impot functionZ
.This in particular important for the parameters in
params.py
- I suggest to either use module import and then doparams.PARAM_NAME
or have a single dictionary with all parameters that you can import.In addition, parameters should be given informative names (e.g.
strong_cluster_min_reads
, but notI
orR
.The text was updated successfully, but these errors were encountered: