Remove unused params from config.yaml
parent
13174b0c2a
commit
1b8453bec4
10
config.yaml
10
config.yaml
|
@ -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]
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue