Skip to content
Snippets Groups Projects
Commit 9d7414b6 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

clean

parent e35dc1ec
No related branches found
No related tags found
No related merge requests found
Pipeline #130090 waiting for manual action with stages
in 8 minutes and 11 seconds
......@@ -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)
......
......@@ -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">
......
......@@ -6,8 +6,6 @@ const props = defineProps<{
const { mobile } = useDisplay();
// const { navigation } = useContent();
// console.log(navigation.value);
</script>
<template>
......
......@@ -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;
}>();
......
......@@ -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>
......
......@@ -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
})
......
......@@ -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 }
})
}
......
......@@ -61,8 +61,6 @@ export async function useFetchMsDocument(
finally {
pending.value = false
}
// })
// console.log(hits)
return { hits, totalHits, pending, filterError, totalPages, facetDistribution }
}
......@@ -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
......@@ -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):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment