-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update Cost of Individual Protocols #22
Comments
Unfortunately, this is not documented and the interface could handle it better. Unless you've changed it, aquarium looking for parameters named |
What is the markup rate? |
It is a rate for charging overhead costs. |
Attached here is a very simple code I wrote to calculate the cost of Extract Gel Fragment protocol: def cost(op) The only parameter I have used is the 'labor rate (min)', which I have created in the Aquarium Parameter page. When I launch the Extract Gel Fragment protocol, the cost showed for the protocol would only include the materials cost, but ignore the labor cost. So, for right now, in order to calculate the correct cost, I have manually combined the labor cost with the material cost. |
Can you set the parameter with the name |
Summary & Context
The Aquarium protocol cost is currently calculated based on two variables, labor and materials. However, when launching a new protocol plan, only the cost of the materials is considered but the labor cost.
Expected Behavior
When created and launched a protocol operation plan, the cost of the plan showed in the DESIGNER workspace should be the sum of both cost variables, labor and materials, of each individual protocol.
The code is structured to automatically sum both cost variables, labor and materials, in this format:
{labor: #, material: #}.
Current Behavior
Currently, only the materials part of the cost is considered when calculating the total protocol cost.
Possible Solution
To by-pass this problem, I have to manually sum both labor and material cost, by doing the following code for all protocols: {labor: 0, material: #+labor}.
Steps to Reproduce
Environment
Chrome
The text was updated successfully, but these errors were encountered: