Comments (7)
I'm assuming this stopgap worked for chaim, so changing title, but lmk if not.
from linearham.
There's no error message, scons seems to think that it already ran partis.
I can reproduce this if I run with any output directory not under /linearham
, e.g.:
--outdir=/linearham_analysis
but it seems to not be the case when using an output dir under /linearham
, e.g.:
--outdir=/linearham/linearham_analysis
I don't understand why this is and am trying to figure it out but hopefully this unblocks you for now.
from linearham.
Haven't tested this specifically, but I'm pretty sure this because you copy all the contents into the container into /linearham. Then you change your working directory to /linearham.
Why not replace COPY . ./linearham
with COPY . .
and remove the WORKDIR
line completely. That way everything is relative to root inside the container. This would at least throw a more useful error b/c the user is trying to write above root directory? Just a thought.
from linearham.
That sounds good to me, that would be amazing if you could switch it to that. This issue was just blocking me from running something last week.
from linearham.
update: this happens also outside of docker, so seems likely unrelated to dockerfile, and maybe is a more fundamental scons thing. I haven't managed to google anything useful about decoupling scons work vs build dirs, so maybe it's not possible? Could probably also just make the various linearham scripts/binaries work from outside the linearham code dir, then have scons cd to the output dir and run from there.
In any case it works ok to handle with linking (e.g. this and this), although is a bit complicated and error-prone.
Anyway for now I think it's better to just leave as is.
from linearham.
@psathyrella Not sure my neural pathways stuck around for this - can I be of assistance? Happy to look into it again.
from linearham.
@jgallowa07 no thanks, it seems likely it's not fixable.
I think this is the closest i've come to an explanation for why things may not be working. That link, at least, boils down to scons being designed around backward compatibility with old compilation tools. Which is a little unsatisfying since we're not even compiling anything, but, oh well, the workaround works for now, and sounds like eventually we'll be using a different approach.
from linearham.
Related Issues (20)
- remove dockerhub image HOT 1
- git describe crashes build HOT 1
- Do we really want to use scons? HOT 3
- NodeList object where it expected a string HOT 1
- change actions to positional argument
- make default tag on quay.io HOT 1
- Use new partis fcn add_seqs_to_line() HOT 4
- Cause of huge number of low-probability nodes HOT 6
- update readme with newer (?) output files HOT 2
- update partis + maybe add --min-cluster-size arg HOT 1
- Docker container doesn't build HOT 2
- light chain crash HOT 3
- Github Actions & Quay Container building HOT 2
- Update Master -> Main
- crash in asr/ess script HOT 7
- Inferred ancestral sequences have mutations in ambiguous regions
- Branch lengths almost all much larger than hamming distance
- Add option for less verbose output dir HOT 1
- Failed Quay build from trigger
- How to handle paired h/l data
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 linearham.