Spring 2014 Journal: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(Journal Entry)
(Summary of day's work)
Line 5: Line 5:


May 20 - Cleaned up some code with two nearly identical structures by consolidating them into a single structure. While testing realized that global variables were unintentionally being preserved. The next step will be to figure out which variables fit into which structure of the GRNstruct and which will need duplicates in the globals. log2FC, the most complicated structure, has already been figured out. Tomorrow will be dedicated mostly to writing the function based code versions of the rest of the code.
May 20 - Cleaned up some code with two nearly identical structures by consolidating them into a single structure. While testing realized that global variables were unintentionally being preserved. The next step will be to figure out which variables fit into which structure of the GRNstruct and which will need duplicates in the globals. log2FC, the most complicated structure, has already been figured out. Tomorrow will be dedicated mostly to writing the function based code versions of the rest of the code.
May 21 - Spent most of today rewriting the first script into a function. To do so I had to figure out where in the structure all the remaining variables will go. I also ran into the problem of trying to figure out which variables will remain local, which will become part of the structure, and which must become global. I finished today by deciding that I will load the structure first with all necessary variables and lad the globals last. I haven't finished the first function, but it's also the most complicated of the group so after finishing up this function, hopefully by tomorrow, I should breeze by the remaining functions. I don't anticipate being able to test the code until probably next week.

Revision as of 11:37, 21 May 2014

Week of March 24

We realized that there is a problem with copying files to Excel using a Mac. Although I did find a | package that uses some Java, I haven't tested it yet. Our priorities will now be to make this file an executable on PC first, and once that code is finalized we can think about having a version that will run on Macs. I became familiarized with the parameter tab in the Excel spreadsheet, particularly with the cells fix_b and fix_p. I created this page today, Wednesday March 26 and I will update it everyday I have interesting developments.

Week of May 19

May 19 - First meeting of SURP with Dr. Fitzpatrick and Ms. Sherbina. We spoke about modifying the program into function based programming rather than a script based one. Started writing estimation_driver2, which uses the uigetfile function in MATLAB to open up a navigation window which allows the user to open a file. This is so the user can select a worksheet without ever having to modify the MATLAB code. So far the driver has a check which terminates the program if no file is selected or if a file with the wrong format is chosen. So far the script allows .xls and .xlsx files. log2FC will probably be partitioned to better fit the final structure that we hope to achieve. I have also begun to clean up the code a little be getting rid of superfluous global variables.

May 20 - Cleaned up some code with two nearly identical structures by consolidating them into a single structure. While testing realized that global variables were unintentionally being preserved. The next step will be to figure out which variables fit into which structure of the GRNstruct and which will need duplicates in the globals. log2FC, the most complicated structure, has already been figured out. Tomorrow will be dedicated mostly to writing the function based code versions of the rest of the code.

May 21 - Spent most of today rewriting the first script into a function. To do so I had to figure out where in the structure all the remaining variables will go. I also ran into the problem of trying to figure out which variables will remain local, which will become part of the structure, and which must become global. I finished today by deciding that I will load the structure first with all necessary variables and lad the globals last. I haven't finished the first function, but it's also the most complicated of the group so after finishing up this function, hopefully by tomorrow, I should breeze by the remaining functions. I don't anticipate being able to test the code until probably next week.