Home Forums Software not calling custom programs

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1945
    charles.wackwitz
    Participant

    Hi all,

    I’ve recently purchased Chi.Bio for my lab and I am looking into creating custom programs where I have two media inputs which gradually change over time. I am interested in:
    – keeping the cultures at a defined OD, similar to the original turbidostat functionality, but where after every sixth time the culture surpasses the set OD it will adjust the ratio of media inputs
    – and another which allows for more zigzag functionality, in which an OD_min and OD_max is defined in a csv file, every dilution results in a change in media ratio
    both of these programs therefore allow for gradual change in media towards an alternate carbon source.

    I now want to test if these programs run in my chi.bio, however I am understanding how the custom programs are called. I’ve changed the predefined custom programs to simple tasks just to turn Pump 1 on, or add text to the terminal, however when I switch these programs on, nothing appears to happen.

    Has anyone else experienced this issue when using custom programs? Happy to share more information if needed.

    Best,
    Charles

    #1946
    harrison
    Keymaster

    Hi, have you tried adding some print statement/s inside the custom programs so that it is obvious if the code is “getting there” or not? Further, just to cnfirm, are you selecting the correct custom program in the dropdown box in the GUI, then clicking to enable it?

    #1948
    charles.wackwitz
    Participant

    Hi Harrison,

    I’ve been able to get the Custom Programs called by deleting the line that calls the input parameters.csv

    fname=’InputParameters_’ + str(M)+’.csv’

    with open(fname, ‘rb’) as f:
    reader = csv.reader(f)
    listin = list(reader)
    Params=listin[0]
    addTerminal(M,’Running Program = ‘ + str(program) + ‘ on device ‘ + str(M))

    There appeared to be an error in the way this line was read, I’ve therefore deleted it all. For my custom program I plan to call the csv files similarly but then within the custom programs, not within the function.

    Thanks!
    Charles

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log in/Register
Scroll to top