diff --git a/components/AutocompleteMeiliFacets.vue b/components/AutocompleteMeiliFacets.vue index 78083ac344c5b4e552bdcc954cbeda4ec6e431b9..b8f8368b1ae6428e29d89949ef5ee78d1466bb9c 100644 --- a/components/AutocompleteMeiliFacets.vue +++ b/components/AutocompleteMeiliFacets.vue @@ -193,8 +193,6 @@ function updateAutocompleteFocused(isFocused: boolean) { function emitUpdateModelValue(filters: MaybeRef<FilterItem[] | undefined>) { - console.log("emitupdatemodelValue") - console.log(filters) emit('update:modelValue', toValue(filters)) } @@ -205,7 +203,6 @@ function clearFilters() { function deleteOneFilter(index: number) { const toValFilterItems = toValue(props.modelValue) - console.log(toValFilterItems) const cloneFilters = toValFilterItems?.slice(0) // check if the next item is an outeroperator const nextFilterItem = cloneFilters?.slice(index + 1, index + 2) diff --git a/components/Nav/Drawer.vue b/components/Nav/Drawer.vue index 6cdff1f0e09d9075e4e095b3c5c4e768a36c43ac..b36f466677e9e8c37895883fa513dc114dfdbd82 100644 --- a/components/Nav/Drawer.vue +++ b/components/Nav/Drawer.vue @@ -11,20 +11,7 @@ const props = withDefaults(defineProps<Props>(), { import { useDisplay, useTheme } from "vuetify"; const { navigation, page } = useContent(); -// const drawer = ref(true); -// const computedNavigation = computed(() => { -// return navigation.value -// .filter((item: { layout: string }) => { -// if (item?.layout === "db") { -// console.log(item) -// return false -// } -// return true -// // return item?.layout !== "db" -// }) - -// }); </script> <template> <v-navigation-drawer name="drawer" :model-value="drawer" :border="1" color="background"> diff --git a/components/Nav/TableOfContent.vue b/components/Nav/TableOfContent.vue index 720ef4c27a4327680043bb53bdb71f6b88d72872..62cec38322666bf2526846da364448bbe32e9169 100644 --- a/components/Nav/TableOfContent.vue +++ b/components/Nav/TableOfContent.vue @@ -6,8 +6,6 @@ const props = defineProps<{ const { mobile } = useDisplay(); -// const { navigation } = useContent(); -// console.log(navigation.value); </script> <template> diff --git a/components/Nav/TableOfContentItem.vue b/components/Nav/TableOfContentItem.vue index 65b484e6eaab37bd2283882f809fdd80f352f80b..0a3250699784b0029c3f638994c5f9b5ef27e4fc 100644 --- a/components/Nav/TableOfContentItem.vue +++ b/components/Nav/TableOfContentItem.vue @@ -2,9 +2,7 @@ import { useTheme } from "vuetify"; import { useRoute } from "#imports" const theme = useTheme(); -// console.log(theme); const route = useRoute(); -// console.log(route) const props = defineProps<{ links: any; }>(); diff --git a/components/ServerDbTable.vue b/components/ServerDbTable.vue index d04b4c6cc4df9bc26ced84dfa7516ba4629646cf..3fbda9661e357af1dca9810c8a93cbf87d7a1fb6 100644 --- a/components/ServerDbTable.vue +++ b/components/ServerDbTable.vue @@ -195,9 +195,6 @@ async function searchOrFilter() { msResult.value = response } catch (error: any) { throw createError("Problem while fetching data") - // filterError.value = error - // console.log(error) - } finally { loading.value = false @@ -280,7 +277,7 @@ function focusedOrBlur(isFocused: boolean) { <v-badge :content="totalHits" color="primary" class="me-auto"> <v-btn prepend-icon="md:download" :loading="pendingDownloadData" variant="text" color="primary" @click="downloadData()">{{ - props.title }} + props.title }} </v-btn> </v-badge> <slot name="toolbar-items"></slot> diff --git a/components/content/PdbeMolstarPlugin.vue b/components/content/PdbeMolstarPlugin.vue index 0b2a671b0e3ad21970b367eb825eb77cb6a59d09..b3a327f3bd5283351f33f895f56e59e22333b03a 100644 --- a/components/content/PdbeMolstarPlugin.vue +++ b/components/content/PdbeMolstarPlugin.vue @@ -39,7 +39,6 @@ const selectedPdb = ref<string | null>(null) const structureToDownload: Ref<string | null> = ref(null) const selectedPaePath = computed(() => { - console.log(selectedPdb) return selectedPdb.value ? `${selectedPdb.value.split(".").slice(0, -1).join('.')}.pae.png` : undefined }) diff --git a/composables/useFetchArticle.ts b/composables/useFetchArticle.ts index d16679b8d6624a6816c3e4cdca3e82d02b3562c0..c300a5ab64f9dcc87fb9a82f7cd9983cbf5a3f4b 100644 --- a/composables/useFetchArticle.ts +++ b/composables/useFetchArticle.ts @@ -25,7 +25,6 @@ export function useFetchArticle(doi: string = "") { .join(", "); } function zoteroArticleToArticle(zoteroArticle: CslJson): WikiArticle | undefined { - console.log(zoteroArticle) if (zoteroArticle != undefined) { const { DOI, @@ -58,7 +57,6 @@ export function useFetchArticle(doi: string = "") { article.value = sanitizedData } }).catch((error) => { - console.log(error) article.value = { DOI: doi } }) } diff --git a/composables/useFetchMsDocument.ts b/composables/useFetchMsDocument.ts index 11a9197f8df7c1bfdd83f022992aee8348ea1f3d..9fc2c7432a1f23fb5a3116344b7b003229c578e4 100644 --- a/composables/useFetchMsDocument.ts +++ b/composables/useFetchMsDocument.ts @@ -61,8 +61,6 @@ export async function useFetchMsDocument( finally { pending.value = false } - // }) - // console.log(hits) return { hits, totalHits, pending, filterError, totalPages, facetDistribution } } diff --git a/composables/useNumericalfilter.ts b/composables/useNumericalfilter.ts index 7756b73f909982a9d5ce7e07392981da5e685cbe..adedb377a374d8d855caa56a7bf08c547b3a3a49 100644 --- a/composables/useNumericalfilter.ts +++ b/composables/useNumericalfilter.ts @@ -24,16 +24,5 @@ export function useNumericalFilter( function reset() { range.value = [toValue(minRef), toValue(maxRef)] } - // watch(() => range, () => { - // console.log("watch reange") - // console.log(range) - // if (range.value[0] === toValue(min) && range.value[1] === toValue(max)) { - // stringifyFilter.value = undefined - // } else { - // stringifyFilter.value = `${toValue(id)} ${toValue(min)} TO ${toValue(max)}` - // } - // }, { deep: true }) - - return { range, stringifyFilter, reset } } \ No newline at end of file diff --git a/packages/df-wiki-cli/df_wiki_cli/content/main.py b/packages/df-wiki-cli/df_wiki_cli/content/main.py index fda38afe8162c4cff4cd7cde890d57b161e3b7ce..476e2514bf6278a89046a6825c99014ff8eb0a81 100644 --- a/packages/df-wiki-cli/df_wiki_cli/content/main.py +++ b/packages/df-wiki-cli/df_wiki_cli/content/main.py @@ -686,7 +686,7 @@ def markdown( with open(file, "w") as f_out: f_out.write(new_f) else: - console.log(f"[bold red]check it manually") + console.print(f"[bold red]check it manually") def remove_version(assembly):