Comments (5)
Spoke to John about this - follow_links
should return all links that match the name in the provided groups. Limit
and CreateOrder
are used in the case where titles
is not provided, so they should stay. marker
isn't actually checked for by POST_Links
, so no change is needed there.
from hsds.
@jreadey I'm not sure I understand how this endpoint is supposed to work with the pattern
parameter. testGetPattern
expects group ids to be returned that don't contain any links that fit the pattern. Is it meant to return all searched group ids (empty or not) when using a pattern, and not without a pattern?
Here's the (expected) response in testGetPattern
with empty groups:
{'links':
{'g-f81913f9-909037d3-7091-9b7118-18bf5b': [],
'g-f81913f9-909037d3-0b41-8c15a0-ba4fad': [],
'g-f81913f9-909037d3-2304-9163c1-15d503': [
{'id': 'd-f81913f9-909037d3-cd25-bd6a92-8700e7', 'class': 'H5L_TYPE_HARD', 'created': 1707845214.4165003, 'title': 'dset2.1'},
{'id': 'd-f81913f9-909037d3-be98-2bdfa6-91fa48', 'class': 'H5L_TYPE_HARD', 'created': 1707845214.4451396, 'title': 'dset2.2'}
],
'g-f81913f9-909037d3-f6a8-00d8e6-4046b6': [
{'id': 'd-f81913f9-909037d3-39d1-9c7ecc-a8b46b', 'class': 'H5L_TYPE_HARD', 'created': 1707845214.270042, 'title': 'dset1.1.1'},
{'id': 'd-f81913f9-909037d3-697f-a976fe-b8c909', 'class': 'H5L_TYPE_HARD', 'created': 1707845214.2981899, 'title': 'dset1.1.2'}
],
'g-f81913f9-909037d3-6cba-d68216-f3d0b1': [],
'g-f81913f9-909037d3-cc63-497daf-2bf556': []
}
}
from hsds.
Yes, that is the intent. You could make the case to not return group ids that contain no links, but I like the explicit empty list.
from hsds.
I tried out titles with follow_links and it doesn't return a sensible result -- links to subgroups won't get followed if the subgroup link is not in titles. Rather than fix this up, I think it makes more sense to return a 400 if titles is used with follow_links -- I've submitted a PR for this change. The PR also raises 400 if CreateOrder is used with titles or Limit is used with titles.
from hsds.
Resolved in #314
from hsds.
Related Issues (20)
- Compound Type Subsetting HOT 4
- Support N-Bit and scale offset filters
- Docker Image CI fails intermittently due to bad username/password
- Uninitialized variable length sequences are returned as scalars instead of empty arrays HOT 2
- Uploading 30 GB file takes too long to upload HOT 7
- not enough room in chunk cache - return 503 HOT 21
- Windows encoding error when writing sequence of variable length UTF-8 characters HOT 2
- Scripts use deprecated docker-compose v1
- Vlen sequence of variable-length UTF-8 strings cannot be written HOT 7
- Creation timestamps lack resolution on Windows HOT 2
- MAX_WAIT_TIME for rescan should be a config option HOT 1
- 409 Conflict during testCreateDomainNodeIds
- Example Requests and Authentication HOT 4
- typo, should be password_file HOT 2
- Improve resiliency for concurrent requests HOT 2
- Add support for numpy >= 2.x.x HOT 4
- HS_USERNAME assigned admin at startup HOT 2
- external connection to hsds with http HOT 1
- Selection can fail for H5D_CONTIGOUS_REF datasets
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 hsds.