Skip to content

Commit

Permalink
Merge pull request #48 from omics-datascience/dev
Browse files Browse the repository at this point in the history
new version 2.1.0
  • Loading branch information
Genarito authored Nov 1, 2023
2 parents dadd321 + fbcf35c commit 3b28e91
Show file tree
Hide file tree
Showing 12 changed files with 476 additions and 116 deletions.
8 changes: 4 additions & 4 deletions ModulectorBackend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

# Modulector version
VERSION: str = '2.0.3'
VERSION: str = '2.1.0'

# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
Expand Down Expand Up @@ -57,7 +57,8 @@
]

CRONJOBS = [
('0 0 * * SAT', 'modulector.pubmed_job.execute', '>> ' + BASE_DIR + '/jobs_log.log')
('0 0 * * SAT', 'modulector.pubmed_job.execute',
'>> ' + BASE_DIR + '/jobs_log.log')
]
CRONTAB_LOCK_JOBS = True
ALLOW_PARALLEL_RUNS = False
Expand All @@ -84,8 +85,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')]
,
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down
8 changes: 4 additions & 4 deletions ModulectorBackend/settings_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

# Modulector version
VERSION: str = '2.0.3'
VERSION: str = '2.1.0'

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -53,7 +53,8 @@
]

CRONJOBS = [
('0 0 * * SAT', 'modulector.pubmed_job.execute', '>> ' + BASE_DIR + '/jobs_log.log')
('0 0 * * SAT', 'modulector.pubmed_job.execute',
'>> ' + BASE_DIR + '/jobs_log.log')
]
CRONTAB_LOCK_JOBS = True
ALLOW_PARALLEL_RUNS = False
Expand All @@ -80,8 +81,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')]
,
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down
8 changes: 4 additions & 4 deletions ModulectorBackend/settings_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

# Modulector version
VERSION: str = '2.0.3'
VERSION: str = '2.1.0'

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -53,7 +53,8 @@
]

CRONJOBS = [
('0 0 * * SAT', 'modulector.pubmed_job.execute', '>> ' + BASE_DIR + '/jobs_log.log')
('0 0 * * SAT', 'modulector.pubmed_job.execute',
'>> ' + BASE_DIR + '/jobs_log.log')
]
CRONTAB_LOCK_JOBS = True
ALLOW_PARALLEL_RUNS = False
Expand All @@ -80,8 +81,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')]
,
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down
5 changes: 2 additions & 3 deletions ModulectorBackend/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
urlpatterns = [
path('admin/', admin.site.urls),
path('mirna/', views.MirnaList.as_view({'get': 'list'}), name='mirna'),
path('mirna-target-interactions/', views.MirnaTargetInteractions.as_view({'get': 'list'}),
path('mirna-target-interactions/', views.MirnaTargetInteractions.as_view(),
name='mirna_target_interactions'),
path('mirna-interactions/', views.MirnaInteractions.as_view(),
name='mirna_interactions'),
path('mirna-aliases/', views.MirnaAliasesList.as_view(), name='mirna_aliases'),
path('mirna-codes/', views.MirnaCodes.as_view(), name='mirna_codes'),
path('mirna-codes-finder/', views.MirnaCodesFinder.as_view(),
Expand All @@ -34,6 +32,7 @@
path('drugs/', views.MirnaDrugsList.as_view(), name='drugs'),
path('subscribe-pubmeds/', views.SubscribeUserToPubmed.as_view()),
path('unsubscribe-pubmeds/', views.UnsubscribeUserToPubmed.as_view()),
path('methylation/', views.MethylationDetails.as_view(), name='methylation'),
path('methylation-sites-finder/', views.MethylationSitesFinder.as_view(),
name='methylation_sites_finder'),
path('methylation-sites/', views.MethylationSites.as_view(),
Expand Down
Loading

0 comments on commit 3b28e91

Please sign in to comment.