Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Add CSR test study #382

Merged
merged 1 commit into from
Jan 14, 2019
Merged

Add CSR test study #382

merged 1 commit into from
Jan 14, 2019

Conversation

forus
Copy link
Contributor

@forus forus commented Jan 9, 2019

No description provided.

@forus forus force-pushed the csr_study branch 2 times, most recently from 1218680 to 9d6c233 Compare January 11, 2019 10:18
@forus forus requested review from gijskant and ewelinagr January 11, 2019 10:20
@forus forus force-pushed the csr_study branch 2 times, most recently from 2f8430b to ed27b27 Compare January 11, 2019 15:48
0 study
1 concept
2 patient
3 DENSE CSR_DIAGNOSIS_MOD T Diagnosis ID NOT_PACKABLE SMALL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name this dimension Diagnosis instead of Diagnosis ID

Copy link
Contributor Author

@forus forus Jan 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. We have " Diagnosis ID" in the customer DB. I guess it's named that way to stress that it contains diagnosis per patient (Ids) as opposed to actual diagnosis names.
My consideration here is to have a dimension name that contains space.

@@ -0,0 +1,15 @@
SUBDIRS := $(wildcard */.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd choice to start using make scripts here again. Why would we choose make, and why is this part of transmart-data?

Copy link
Contributor Author

@forus forus Jan 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make scripts do not bring much here indeed. bash would do as well.
The rest of the test studies that are used by automatic tests are part of transmart-data currently.
So you could create the test ready db with make postgres_test.
Please feel free to create a ticket for separating test data from transmart-data where would decide on a new approach.


load: $(SUBDIRS)
$(SUBDIRS): $(TRANSMART_COPY)
@echo "Laading test study from $@ folder."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo (Laading -> Loading)


TRANSMART_COPY_VERSION := 17.1-HYVE-5.7
TRANSMART_COPY := transmart-copy-$(TRANSMART_COPY_VERSION).jar
TRANSMART_COPY_SRC_URL := https://repo.thehyve.nl/content/repositories/releases/org/transmartproject/transmart-copy/$(TRANSMART_COPY_VERSION)/transmart-copy-$(TRANSMART_COPY_VERSION).jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the source is located at ../../transmart-copy...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, but we release transmart-data as a separate component as well.

In dev setup, you could always build transmart-copy from sources and copy to the folder. make load won't fetch remote one if the version is right (TRANSMART_COPY_VERSION )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants