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

multi comparison (matrix, cube) #15

Merged
merged 16 commits into from
Jan 1, 2024
Merged

multi comparison (matrix, cube) #15

merged 16 commits into from
Jan 1, 2024

Conversation

stan-donarise
Copy link
Collaborator

No description provided.

plot/cube/cube.view.ts Outdated Show resolved Hide resolved
@blokhin
Copy link
Member

blokhin commented Nov 28, 2023

Is there any check that all the plots provided belong to the same type? So that we do not proceed with let's say one plot for cube and two plots for square at the same time.

@stan-donarise
Copy link
Collaborator Author

Is there any check that all the plots provided belong to the same type? So that we do not proceed with let's say one plot for cube and two plots for square at the same time.

added this check (the first json determines the plot type, the rest must match)

@blokhin
Copy link
Member

blokhin commented Dec 3, 2023

@stan-donarise please could you move plotly into visavis/lib/plotly/view 🙏

@blokhin
Copy link
Member

blokhin commented Dec 3, 2023

@nin-jin looking fwd for your (very critical) review 🥇

lib/pca/pca.ts Outdated
@@ -0,0 +1,5 @@
namespace $ {

export const $mpds_visavis_lib_pca = require('../mpds/visavis/lib/pca/bundle/pca.js')
Copy link
Collaborator

@nin-jin nin-jin Dec 10, 2023

Choose a reason for hiding this comment

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

🟠 Какая-то странная ссылка. Она тут должна быть относительно текущего файла.
Возможно лучше было бы переименовать pca.js в _pca.js (чтобы сборщик сам её не включал в бандл) и положить рядом, а потом подключит как-то так: require('./_pca.js')

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

вроде сборщик устроен так, что у require должны быть полные пути?
т.е. например в бандле (web.js) генерируется такой код $node[ "../mpds/visavis/lib/pca/_pca.js" ]
а вот относительно текущего файла require('./_pca.js') - так не работает

Copy link
Collaborator

Choose a reason for hiding this comment

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

Но полные пути должны с / начинаться. Выход из корня наверх не должен работать.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

вот https://github.com/stan-donarise/mam_mol/blob/master/build/build.node.ts#L937C1-L937C11
видимо из node_modules поднимается

plot/customscatter/customscatter.view.ts Outdated Show resolved Hide resolved
plot/matrix/matrix.view.ts Outdated Show resolved Hide resolved
plot/phase/phase.view.ts Outdated Show resolved Hide resolved
app/app.view.ts Outdated Show resolved Hide resolved
plot/bar/bar.view.ts Outdated Show resolved Hide resolved
@stan-donarise stan-donarise merged commit 381e668 into master Jan 1, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the multi-cmp branch January 1, 2024 04:14
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.

3 participants