Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Creating a Calculator with Python
Post: RE: Creating a Calculator with Python

I'm not sure what a stacktrace is but I was just using a simple, random dilution cvs I made in a few moments from yours- With ic, fc, fv 1, 2, 3 3, 4, 5 6, 7, 8 2, 1, 5 5, 3, 6
KatherineHov General Coding Help 8 7,780 Aug-01-2017, 08:45 PM
    Thread: Creating a Calculator with Python
Post: RE: Creating a Calculator with Python

To really simplify it - would something like this also work? I keep receiving a EOF while scanning triple-quoted string literal. import csv f = open('dilutions.csv') #to pull data from a CSV file ...
KatherineHov General Coding Help 8 7,780 Aug-01-2017, 03:46 PM
    Thread: Creating a Calculator with Python
Post: RE: Creating a Calculator with Python

Hi, firstly - thank you for such a detailed response, it really helps make everything clear! I just want to make sure I'm clear about rows/columns. I've identified what I want to do in reading CSV fi...
KatherineHov General Coding Help 8 7,780 Jul-31-2017, 08:36 PM
    Thread: Creating a Calculator with Python
Post: Creating a Calculator with Python

Hi, right now I'm working on a python dilution calculator. Using the dilution equation C1V1 = C2V2 I've made this simple protocol that works: #enter in your values initial_concentration = input("Ente...
KatherineHov General Coding Help 8 7,780 Jul-31-2017, 05:33 PM
    Thread: Python Code Generator
Post: RE: Python Code Generator

Thanks! Using that I tried it out for cDNA, and I've gotten really close but I haven't been quite able to hit the desired effect with modifying the line.  def transfer(p_amount, p_source, p_target): ...
KatherineHov General Coding Help 11 8,917 Jul-27-2017, 01:22 AM
    Thread: Python Code Generator
Post: RE: Python Code Generator

Thank you for the dictionary. It was able to translate wells (A1) to their number (1) but I had trouble adding it into my code to convert the A1 coordinates to numbers. So, I tried out another thing. ...
KatherineHov General Coding Help 11 8,917 Jul-26-2017, 05:15 PM
    Thread: Python Code Generator
Post: RE: Python Code Generator

To make the functions replicate I just added in a variable to replicate it. It's basically the same code but: def transfer(p_amount, p_source, p_target):  print("Transfering {:>10}ul from {} to {}...
KatherineHov General Coding Help 11 8,917 Jul-25-2017, 09:16 PM
    Thread: Python Code Generator
Post: RE: Python Code Generator

Hi! Thanks for your help! I've got it figured out so the mastermix and cDNA go to the right columns and wells! Here is the code: def transfer(p_amount, p_source, p_target):  print("Transfering {:>...
KatherineHov General Coding Help 11 8,917 Jul-25-2017, 05:40 PM
    Thread: Python Code Generator
Post: RE: Python Code Generator

Firstly, thank you SO much for your help! This has been amazing. I've been looking over the code though, and I had a few questions about adjustments I could make- here's what I wrote it as  def tran...
KatherineHov General Coding Help 11 8,917 Jul-25-2017, 04:13 PM
    Thread: Python Code Generator
Post: Python Code Generator

I'm new to coding, but I've taken on a project to write a python code that generates plating for PCR set up. At my lab we use a machine called OpenTrons hood and within it through python you can prog...
KatherineHov General Coding Help 11 8,917 Jul-24-2017, 05:58 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020