Comments (5)
This block in the framework looks promising:
from q2-types.
@thermokarst the drive link isn't loading for me.
from q2-types.
Thanks @Oddant1 --- looks like the user stopped sharing their data. No worries.
from q2-types.
I took another look at this and it looks like right here in the framework is where the issue is. https://github.com/qiime2/qiime2/blob/81f9bc1e735a1d9c1c852d144b8302ab4c24a3cc/qiime2/plugin/model/directory_format.py#L89-L105
Specifically on line 93 we regex the pathspec against the actual path which allows any path that is a superset of the pathspec to get through. This explains how "MANIFEST.txt" and "metadata.yml.txt" got through. The path we regex against is the path to the file relative to the root directory of the artifact.
It seems like we might be able to just use re.fullmatch
instead of re.match
? Provided the pathspec is the full file path from the artifact's root (so if the file is nested within another directory inside the artifact's data directory that directory is part of its pathspec) I think this should work.
from q2-types.
Awesome! Can you write up a unittest that recreates the case presented here in this issue? It will fail, until we get the fix merged into the framework. Thanks!
from q2-types.
Related Issues (20)
- new format / transformer for single-end demuliplexed files named by sample id HOT 1
- add usage examples to artifact classes HOT 1
- deprecation warning on import of type `SampleData[PairedEndSequencesWithQuality]` with format `PairedEndFastqManifestPhred33V2`
- add `ImmutableMetadata` semantic type
- FEAT: Importing multiplexed paired-end data with separated barcode sequence files HOT 1
- Migrate FeatureMap from q2-types-genomics to q2-types
- Blast6 file empty HOT 1
- MAINT: Migrate q2-types-genomics types/formats/transformers into q2-types
- Patch to work with Pandas 2.x HOT 1
- FEAT: Importing sequence data from BIOM files HOT 5
- ENH: Semantic type for HMMER database
- MAINT: Implement a validation method for the `OrthologFileFmt` HOT 2
- ENH: Add new type `FeatureData[SequenceCharacteristics]`
- ENH: add `ReferenceDB[HMMER]` semantic type
- IMP: PacBio Phred Offset is Incorrectly Translated HOT 1
- add manifest formats to q2-types, and update throughout the shotgun distro to use those
- MAINT: Move partitioning and collating actions from q2-moshpit to q2-types
- iteritems deprecation warning on merge_seqs HOT 1
- identifiers are being parsed as feature labels in various visualizations HOT 1
- ENH: Adding new type called `FeatureTable[Normalized]`
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 q2-types.