Open asmirn1 opened 3 years ago
TODO:
routes.py
, import MasterConfig
and update params
based on the user-specified valuesCENTROID_MS_PATH
and PROFILE_MS_PATH
in params
to lead to the files in uploads
foldermzmlReadRaw
, read the raw data file (in the profile mode) and calculate the following parameters:
min_mz
and max_mz
are the minimum and maximum m/z values across all scans. Use numpy.min()
and numpy.max()
functions.ms_frec
is the total number of scans divided by the time space from the first scan to the last scanTODO:
parameters.html
. Add a separate tab called "Pre-calculated Parameters" to display those parameters.parameters.html
is opening, assign parameter values from params
to ParametersForm
if ParametersForm
doesn't have any values,params
is updated, save it to the current session,ParametersForm
is submitted. To execute Trace, we need to call main(params)
from TRACE.py
Currently, we seem to be able to execute the Trace algorithms, but we don't see any output. TODO:
mz_min
, mz_max
, ms_freq
part of the ParametersForm
so that their look would be consistent with the rest of the parametersparams.LOGGING_PATH
to save the logging information into user's temporary folder in uploads
TODO:
logging.INFO
logging.critical()
to logger.info()
in all scripts of TRACE (TRACE.py, scan_cwt_1.py, getImage_2.py, predict_3.py)base.html
, we need to display log in some element with a scroll bar. So that users could see the entire log.params
in the session instead of individual parameters.Modify the logging area:
<small>
logger = logging.getLogger("TRACE")
before using logger
in scan_cwt_1.py
, etc.TODO:
mz
, time
, height
, area
, snr
, prediction
.
First, we'll create a very simple web application with 3 pages:
upload.html
, where users can select raw data files and the name for their analysis.parameters.html
, where users can browse the raw data file and specify parameters for running Traceresults.html
, where users can browse the results of running TracePdf files below show templates for pages
base.html
andupload.html
: Scan-20210625.pdf Scan-20210625 (1).pdf