Comments (4)
Hi @JPereira-FJB good news, we recently updated Sapiens to use latest fairseq
version which enables us to use latest torch
version which enables us to use python 3.9
😄
So I just merged #37 and submitted the changes to BioConda bioconda/bioconda-recipes#41010. Once that is merged, the package should appear on bioconda and you can update using conda activate your_env; conda install biophi==1.0.9
.
Updating the python version in a conda env is sometimes tricky, so if that fails, it might be easiest to remove the environment and create it again from scratch.
from biophi.
Thanks, @prihoda !
I'll try it out once it merges.
Another unrelated question: from the docker-compose.yml, I can change the port of both the web service and the redis cache the celery workers are connected to. I'm using this to connect to my Redis cache running locally, outside the container. It works great if they subscribe to database 0. It fails (error bellow) if I change the database number to 1 or 2 (or even 1 for task queue and 2 for results cache). Is it possible to change this somehow?
worker_1 | [2023-05-17 09:55:19,967: CRITICAL/MainProcess] Can't decode message body: ContentDisallowed('Refusing to deserialize untrusted content of type json (application/json)') [type:'application/json' encoding:'utf-8' headers:{'clock': 279, 'expires': 1684317320.9657383}]
worker_1 |
worker_1 | body: b'{"method": "enable_events", "arguments": {}, "destination": null, "pattern": null, "matcher": null}' (99b)
worker_1 | Traceback (most recent call last):
worker_1 | File "/opt/conda/lib/python3.8/site-packages/kombu/messaging.py", line 620, in _receive_callback
worker_1 | decoded = None if on_m else message.decode()
worker_1 | File "/opt/conda/lib/python3.8/site-packages/kombu/message.py", line 194, in decode
worker_1 | self._decoded_cache = self._decode()
worker_1 | File "/opt/conda/lib/python3.8/site-packages/kombu/message.py", line 198, in _decode
worker_1 | return loads(self.body, self.content_type,
worker_1 | File "/opt/conda/lib/python3.8/site-packages/kombu/serialization.py", line 242, in loads
worker_1 | raise self._for_untrusted_content(content_type, 'untrusted')
worker_1 | kombu.exceptions.ContentDisallowed: Refusing to deserialize untrusted content of type json (application/json)
from biophi.
I must say that's the first time I see that error message so I can't guess what could have gone wrong. It should be possible to use a different DB number.
Perhaps that DB contained some entries serialized previously by another celery application - we use pickle for serialization, not json.
from biophi.
That might be the case, I think I may have some other tool adding json entries, now that you mention it.
Thanks!
from biophi.
Related Issues (20)
- Is Sapiens score more likely immunogenic if it's higher or lower? HOT 2
- Vernier CDR Grafting HOT 2
- the web server Humanize can't work HOT 2
- Using BioPhi Server to download the result file encountered an error
- Observation and Fix: Sqlalchemy 2.0 Compatibility - Downgrade to Sqlalchemy 1.x
- Error: Invalid sequence for "antibody"
- Specify flask version
- Compatibility with SQLAlchemy 1.4.48 HOT 1
- Specify pandas version HOT 1
- unable to use cdr_grafting by BioPhi command-line interface HOT 2
- Error: module 'numpy' has no attribute 'int' HOT 4
- BioPhi failed with HMMscanError: b'Parse failed (sequence file /var/folders/j7/j8sdcdk16nn_ngnyt1nc9vlw0000gn/T/tmpuhcuvvsc.fasta):\nLine 3: illegal character }\n\n' 0it [00:00, ?it/s]
- Add mypy type checks
- Enable cli for humanization cdr grafting
- Allowing humanization to make multiple outputs
- Smaller docker images
- Get humanness from Python script
- how to get raw peptide data(sequence datasets)?
- Integration of additional language models?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biophi.