Remove unused params from config.yaml

pull/128/head
JulioV 2021-03-11 14:57:34 -05:00
parent 13174b0c2a
commit 1b8453bec4
3 changed files with 5 additions and 11 deletions

View File

@ -1,10 +1,6 @@
# See https://www.rapids.science/latest/setup/configuration/#database-credentials
DATABASE_GROUP: &database_group
MY_GROUP
# See https://www.rapids.science/latest/setup/configuration/#timezone-of-your-study
TIMEZONE: &timezone
America/New_York
########################################################################################################################
# GLOBAL CONFIGURATION #
########################################################################################################################
# See https://www.rapids.science/latest/setup/configuration/#participant-files
PIDS: [test01]

View File

@ -1,9 +1,10 @@
# This rull will dissapear
rule restore_sql_file:
input:
sql_file = "data/external/rapids_example.sql",
db_credentials = ".env"
params:
group = config["DATABASE_GROUP"]
group = "No_GROUP" #config["DATABASE_GROUP"]
output:
touch("data/interim/restore_sql_file.done")
script:

View File

@ -1,7 +1,6 @@
$schema: "http://json-schema.org/draft-07/schema#"
description: RAPIDS configuration schema
required:
- DATABASE_GROUP
- TIMEZONE
- PIDS
- CREATE_PARTICIPANT_FILES
@ -113,8 +112,6 @@ definitions:
type: string
properties:
DATABASE_GROUP:
type: string
TIMEZONE:
type: object