Skip to content

Commit

Permalink
remove debugging printouts
Browse files Browse the repository at this point in the history
  • Loading branch information
roquej committed Nov 6, 2024
1 parent dc89e1a commit caf7a26
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 93 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pages/js/duster/new-project/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<!-- <link rel="icon" href="../shared/src/assets/images/favicon.ico"> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DUSTER</title>
<script type="module" crossorigin src="./assets/index-7403ad2b.js"></script>
<link rel="stylesheet" href="./assets/index-8be53e9a.css">
<script type="module" crossorigin src="./assets/index-1d978ef1.js"></script>
<link rel="stylesheet" href="./assets/index-4f7a9f65.css">
</head>
<body>
<div id="app"></div>
Expand Down
9 changes: 0 additions & 9 deletions pages/js/duster/new-project/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ const getDusterMetadata = (metadataUrl:string) => {
scoreOptions.value = resp.data.scores;
clinicalDateOptions.value = resp.data.clinical_dates;
// get lab results metadata
} else {
axios.get(metadataUrl)
.then(function (response) {
Expand Down Expand Up @@ -520,13 +518,6 @@ const loadEditMode = () => {
projectConfig.initial_design.collectionWindows.forEach((cw: any) => {
cw.data.ud_labs = cw.data.ud_labs ? cw.data.ud_labs : [];
});
/*
for (let i = 0; i < projectConfig.initial_design.collectionWindows.length; i++) {
if (!projectConfig.initial_design.collectionWindows[i].data.ud_labs) {
projectConfig.initial_design.collectionWindows[i].data.ud_labs = [];
}
}
*/
initialDesign.value = projectConfig.initial_design;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
</div>
<hr/>
<!-- default aggregates-->
{{ initialData}}}

<br>
<br>
{{localClinicalData}}
<Panel
header="Default Aggregates"
toggleable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
<template>
props.initialData
<br>
{{props.initialData}}
<br>
props.selectedOptions
<br>
{{ props.selectedOptions }}
<br>
initialSelected
<br>
{{initialSelected}}
<br>
selected
<br>
{{selected}}

<div class="grid">
<div
v-for="(col, index) in filtered"
Expand Down Expand Up @@ -48,8 +32,7 @@
:for="field.duster_field_name"
class="ml-2"
>
<!-- {{ field.label }} -->
{{ field }}
{{ field.label }}
</label>
<MetadataInfoDialog :initial-field-name-prop="field.duster_field_name"/>
</div>
Expand Down Expand Up @@ -264,10 +247,6 @@ const props = defineProps({
const emit = defineEmits(['update:selectedOptions'])
const initialSelected = computed(() => {
console.log(props.category);
console.log(props.initialData);
console.log((props.initialData !== undefined && Array.isArray(props.initialData[props.category]))
? props.initialData[props.category] : []);
return (props.initialData !== undefined && Array.isArray(props.initialData[props.category]))
? props.initialData[props.category] : [];
});
Expand Down

0 comments on commit caf7a26

Please sign in to comment.