Skip to content
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

Support h5grove@2.0.0 and improve dtype parsing #1557

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Support h5grove@2.0.0 and improve dtype parsing #1557

merged 1 commit into from
Jan 30, 2024

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jan 29, 2024

This follows silx-kit/h5grove#85.

I've encountered an issue upgrading the server on Bosquet, so the tests still fail for now.


export interface H5GroveBaseType {
class: number;
dtype?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that all the info is contained as fields in the object type, it is worth keeping the dtype field ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean in our front-end types? Yeah probably not!

Copy link
Contributor Author

@axelboc axelboc Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept it in the back-end because I thought that some front-ends (that don't care as much about supporting all the types) might find it more convenient to use - e.g. to display the dtype in a tooltip.

@axelboc axelboc force-pushed the h5grove-2 branch 3 times, most recently from f053d9e to 80acdcc Compare January 30, 2024 08:09
@@ -21,7 +21,7 @@ import type {
import { hasErrorMessage, parseEntity } from './utils';

export class H5GroveApi extends DataProviderApi {
/* API compatible with h5grove@1.3.0 */
/* API compatible with h5grove@2.0.0b2 */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version bump (beta for now)

@axelboc axelboc merged commit 1d89e1b into main Jan 30, 2024
8 checks passed
@axelboc axelboc deleted the h5grove-2 branch January 30, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants