Source code for modules.gemtractor.constants
# This file is part of the GEMtractor
# Copyright (C) 2019 Martin Scharm <https://binfalse.de>
#
# The GEMtractor is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The GEMtractor is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[docs]class Constants:
"""constants to prevent typos..
"""
SESSION_MODEL_ID = "model_id"
SESSION_MODEL_NAME = "model_name"
SESSION_MODEL_TYPE = "model_type"
SESSION_FILTER_SPECIES = "filter_species"
SESSION_FILTER_REACTION = "filter_reactions"
SESSION_FILTER_ENZYMES = "filter_enzymes"
SESSION_FILTER_ENZYME_COMPLEXES = "filter_enzyme_complexes"
SESSION_HAS_SESSION = "has_session"
SESSION_MODEL_TYPE_UPLOAD = "upload"
SESSION_MODEL_TYPE_BIGG = "bigg"
SESSION_MODEL_TYPE_BIOMODELS = "biomodels"
SESSION_HAS_SESSION_VALUE = "yes"
STORAGE_UPLOAD_DIR = "UPLOADED"
STORAGE_BIGG_DIR = "BIGG"
STORAGE_BIOMODELS_DIR = "BIOMODELS"
STORAGE_GENERATED_DIR = "GENERATED"