Skip to content

Commit

Permalink
updating elixir-bsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemma committed Jul 3, 2024
1 parent 4e43cfe commit 3e7fe9c
Show file tree
Hide file tree
Showing 12 changed files with 286 additions and 273 deletions.
11 changes: 4 additions & 7 deletions frontend/src/components/Biosamples/BiosamplesResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ function BiosamplesResults (props) {
queryArray[index] = term.split('%')

queryArray[index][1] = '%' + queryArray[index][1] + '%'
console.log(queryArray[index])

queryArray[index].push('=')
}

Expand Down Expand Up @@ -534,8 +534,7 @@ function BiosamplesResults (props) {
configData.API_URL + '/biosamples',
jsonData1
)
console.log(jsonData1)
console.log(res)

} else {

const headers = { Authorization: `Bearer ${token}` }
Expand Down Expand Up @@ -866,14 +865,13 @@ function BiosamplesResults (props) {
token = auth.userData.access_token
}
if (token === null) {
console.log(jsonData2)

console.log('Querying without token')
res = await axios.post(
configData.API_URL + '/biosamples',
jsonData2
)

console.log(res)
} else {
console.log('Querying WITH token')

Expand All @@ -884,8 +882,7 @@ function BiosamplesResults (props) {
jsonData2,
{ headers: headers }
)
console.log(jsonData2)
console.log(res)

}

setTimeOut(true)
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/components/Dataset/BeaconInfo.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ p a:hover {
height: 92px;
overflow-y: scroll;
font-size: 13px;
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none;
}

.datasetCard p::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}

.datasetCardResults p {
Expand Down Expand Up @@ -294,6 +300,12 @@ p a:hover {
flex-direction: column;
align-items: center;
overflow-y: scroll;
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none;
}

.tittleResults::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}

.seeResultsContainer {
Expand Down
18 changes: 17 additions & 1 deletion frontend/src/components/FilteringTerms/FilteringTerms.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ tbody {
padding-bottom: 20px !important;
}


.tableWrapper {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -242,6 +241,12 @@ tbody {
padding-top: 10px;
padding-bottom: 10px;
font-size: 13px;
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none;
}

.th4::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}

.th5 {
Expand Down Expand Up @@ -369,6 +374,13 @@ tr {
box-shadow: rgba(216, 207, 207, 0.25) 0px 1px 1px,
rgba(197, 150, 150, 0.13) 0px 0px 1px 1px;
}
.tableWrapper {
height: 100vh;
display: flex;
justify-content: center;
width: 100vw;
margin-top: 127px;
}
}

@media (max-width: 500px) {
Expand All @@ -388,6 +400,7 @@ tr {
display: flex;
justify-content: center;
width: 100vw;
margin-top: 138px;
}

.th2 {
Expand Down Expand Up @@ -416,7 +429,10 @@ tr {
padding-top: 10px;
padding-bottom: 10px;
font-size: 11px;
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none;
}

input[type='checkbox']:before {
content: '✓';
font-size: 15px;
Expand Down
15 changes: 5 additions & 10 deletions frontend/src/components/GenomicVariations/VariantsResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ function VariantsResults (props) {
queryArray[index] = term.split('%')

queryArray[index][1] = '%' + queryArray[index][1] + '%'
console.log(queryArray[index])

queryArray[index].push('=')
}

Expand Down Expand Up @@ -534,12 +534,11 @@ function VariantsResults (props) {
configData.API_URL + '/g_variants',
jsonData1
)
console.log(jsonData1)
console.log(res)

} else {

const headers = { Authorization: `Bearer ${token}` }
console.log('querying with token')

res = await axios.post(
configData.API_URL + '/g_variants',
jsonData1,
Expand Down Expand Up @@ -866,14 +865,12 @@ function VariantsResults (props) {
token = auth.userData.access_token
}
if (token === null) {
console.log(jsonData2)
console.log('Querying without token')

res = await axios.post(
configData.API_URL + '/g_variants',
jsonData2
)

console.log(res)

} else {
console.log('Querying WITH token')

Expand All @@ -884,8 +881,6 @@ function VariantsResults (props) {
jsonData2,
{ headers: headers }
)
console.log(jsonData2)
console.log(res)
}

setTimeOut(true)
Expand Down
Loading

0 comments on commit 3e7fe9c

Please sign in to comment.