-
Notifications
You must be signed in to change notification settings - Fork 3
New release fixes #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| return await datasource_service.get_available_sources() | ||
|
|
||
|
|
||
| @router.get("/{set_id}/annotations", response_model=DataSourceProcessingResponse) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid loading the annotations result in browser, which led to quota errors even with moderate sizes
| pygraph, error = GraphService.create_pygraph(annotations, graph_dir) | ||
| if error: | ||
| return None, f"Graph error: {error}" | ||
| try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more exception catching
| ) | ||
| dataframes.append(pubchem_assay_df) | ||
| metadata.append(pubchem_assay_metadata) | ||
| # Clean up pubchem cache file created by pyBiodatafuse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw some tmp files persist in memory. This is one of them, maybe this is intended, so we can undo this.
| } catch (e) { | ||
| error.value = 'Failed to parse annotation results.' | ||
| console.error("JSON parse error:", e) | ||
| onMounted(async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applying the API call to get the annotations as stored. Not sure about when (if at all) they should be removed from db.
| @@ -1,4 +1,4 @@ | |||
| pyBiodatafuse | |||
| pyBiodatafuse==1.3.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should hardcode versions
| # Remove external port exposure - backend only accessible internally | ||
| volumes: | ||
| - ./backend:/app | ||
| - ./data:/app/data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this: it's needed for e.g. the cytoscape styles download, but was it left out for a reason?
QuotaExceededErrorduring /process #25 (done with 8ef726c)