-
Notifications
You must be signed in to change notification settings - Fork 81
Added column_name variability to resource_allocation #3457
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
Open
Gossty
wants to merge
25
commits into
qiita-spots:dev
Choose a base branch
from
Gossty:resource-allocation-colormap
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+310
−149
Open
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
88dc031
Update to DB qiita.slurm_resource_allocations
Gossty 447e01a
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty 442e735
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty 43aa8bf
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty 3afba3a
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty a36dc8a
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty 071eb5f
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty 2ecfa1e
Merge branch 'dev' of https://github.com/qiita-spots/qiita into dev
Gossty d5996f1
added colormap, create equation table
Gossty dd12143
Fixed styling
Gossty 1c30fc8
Using qiita.allocation_equations table in util.py
Gossty 82c95e1
Debug
Gossty 2cb3f37
Updates to @antgonza comments
Gossty 2ea03e2
Changes to @antgonza comments
Gossty 60ec9fd
Back to np.log
Gossty 49b4a79
Added column_name variability
Gossty fbe01a2
Fix styling
Gossty 7da3659
Merge branch 'dev' into resource-allocation-colormap
Gossty 9717adb
Update description of software retrieval function
Gossty 8d27f89
Remove the unnecessary test_db 94.sql file
Gossty 7fb202a
Update test_user.py
Gossty c9ce88b
Updates to @antgonza comments
Gossty 43e1463
Update meta_util.py
Gossty 4032ed5
Update util.py
Gossty 8e148b6
Time limit for resource_allocation_plot
Gossty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
-- Jan 13, 2025 | ||
-- Adding a table for formulas for resource allocations | ||
CREATE TABLE qiita.allocation_equations ( | ||
equation_id SERIAL PRIMARY KEY, | ||
equation_name TEXT NOT NULL, | ||
expression TEXT NOT NULL | ||
); | ||
CREATE TABLE qiita.resource_allocation_equations ( | ||
equation_id SERIAL PRIMARY KEY, | ||
equation_name TEXT NOT NULL, | ||
expression TEXT NOT NULL | ||
); | ||
|
||
INSERT INTO qiita.resource_allocation_equations(equation_name, expression) VALUES | ||
('mem_model1', '(k * (np.log(x))) + (x * a) + b'), | ||
('mem_model2', '(k * (np.log(x))) + (b * ((np.log(x))**2)) + a'), | ||
('mem_model3', '(k * (np.log(x))) + (b * ((np.log(x))**2)) + (a * ((np.np.log(x))**3))'), | ||
('mem_model4', '(k * (np.log(x))) + (b * ((np.log(x))**2)) + (a * ((np.log(x))**2.5))'), | ||
('time_model1', 'a + b + ((np.log(x)) * k)'), | ||
('time_model2', 'a + (b * x) + ((np.log(x)) * k)'), | ||
('time_model3', 'a + (b * ((np.log(x))**2)) + ((np.log(x)) * k)'), | ||
('time_model4', '(a * ((np.log(x))**3)) + (b * ((np.log(x))**2)) + ((np.log(x)) * k)'); | ||
|
||
CREATE TABLE qiita.resource_allocation_column_names ( | ||
col_name_id SERIAL PRIMARY KEY, | ||
col_name TEXT NOT NULL | ||
); | ||
|
||
INSERT INTO qiita.resource_allocation_column_names(col_name) VALUES | ||
('samples'), ('columns'), ('input_size'), | ||
('samples*columns'), ('samples*input_size'), | ||
('columns*input_size'), ('samples*columns*input_size'); |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.