xmlpipedb-developer Mailing List for XMLPipeDB (Page 11)
Brought to you by:
kdahlquist,
zugzugglug
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(16) |
Sep
|
Oct
(9) |
Nov
(3) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(22) |
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
(32) |
Oct
(2) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(60) |
Mar
(42) |
Apr
(35) |
May
(17) |
Jun
(2) |
Jul
(23) |
Aug
(72) |
Sep
(15) |
Oct
(10) |
Nov
(14) |
Dec
(4) |
2012 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(11) |
Dec
|
2014 |
Jan
(1) |
Feb
(12) |
Mar
(14) |
Apr
(8) |
May
|
Jun
(14) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(6) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
(5) |
Mar
(2) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Richard B. <rbr...@gm...> - 2011-04-15 06:22:24
|
Well that seemed to do the trick as I was able to export out a Mtuberculosis gdb which is very close to our baseline gdb from b63. I will post both gdb's onto the wiki along with an excel doc comparison of the original row counts. But I'm still unclear exactly why using the general species taxon id would work and the taxon id for our specific species would not work? Maybe I'm still a bit weak in my understanding, but it seemed to me that what we wanted to do was identify the species by its taxon id to eliminate issues with potentially different, non-exact spellings (and tracking) of particual species names. Can someone clarify please? ;-D Thanks! Richard On Thu, Apr 14, 2011 at 8:51 PM, Richard Brous <rbr...@gm...> wrote: > No intrusion Don =D > > Thanks for the suggestion. I'll give it a try and let the distribution know > the findings. > > Richard > > Sent from my iPhone > > On Apr 14, 2011, at 7:07 PM, Don Murphy <djs...@gm...> wrote: > > Forgive my intrusion, but I have an idea of what may be the problem. In > the screenshot you provided, the only species shown in the drop down box, as > taken from the source files, is taxon id 1773. An quick Google search > reveals that 1773 is the general taxon id for Mycobacterium tuberculosis. > In the profile you created, the taxon id used is 83332, which is for M. > tuberculosis strain H37Rv. The problem seems to be that the profile you > created was for the certain strain, while your source files were for M. > tuberculosis in general. Try changing the profile to use the id 1773 and see > if that helps. > > On Thu, Apr 14, 2011 at 6:53 PM, Richard Brous <rbr...@gm...> wrote: > >> OK, found the method and reviewed it. >> >> It makes sense and I believe it should work as is unless I'm reading the >> code wrong. >> >> I don't see how if the taxon id is included in the Mtuberculosis species >> profile (which it is) why this shouldn't work? >> >> Help please, what am i missing? >> >> richard >> >> On Thu, Apr 14, 2011 at 11:04 AM, Richard Brous <rbr...@gm...>wrote: >> >>> Gotcha, will check it out later today as well as post gdb's up to the >>> wiki. >>> >>> Rb >>> >>> Sent from my iPhone >>> >>> On Apr 13, 2011, at 11:32 AM, "John David N. Dionisio" <do...@lm...> >>> wrote: >>> >>> > Greetings, >>> > >>> > Sorry for the delay; I ended up digging through the code a bit so I >>> would be sure of the response. >>> > >>> > getSpeciesProfilesFound does indeed feed the combo box that you want to >>> touch, but it turns out that the array returned by this method is not built >>> here. >>> > >>> > The code that builds the array returned by getSpeciesProfilesFound is >>> located in UniProtDatabaseProfile; the method is called checkRequirements. >>> This is the method that performs the query which retrieves the available >>> taxon IDs from the relational database. >>> > >>> > The intent of the method is this: if a custom species profile is found >>> that matches the taxon ID, then that species profile is added to the list. >>> If a custom species profile is *not* found, a generic species profile >>> initialized to the taxon ID is added instead. >>> > >>> > That is the method's intent. As you have seen, it may need some >>> cleanup and/or fixing. But there it is for you: >>> UniProtDatabaseProfile.checkRequirements. >>> > >>> > John David N. Dionisio, PhD >>> > Associate Professor, Computer Science >>> > Loyola Marymount University >>> > >>> > >>> > >>> > On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: >>> > >>> >> OK, in ExportPanel1.java i found the following: >>> >> >>> >> 1. COMBOBOX DEFINED ON LINE 59 >>> >> private >>> >> >>> >> JComboBox speciesComboBox; >>> >> 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING >>> ON LINE 141 >>> >> >>> >> // Species | JComboBox | speciesFound | JLabel | Description >>> >> >>> >> >>> >> // | JTextField | customizable name >>> >> >>> >> speciesComboBox = new JComboBox(); >>> >> >>> >> speciesComboBox.addActionListener(new ActionListener() { >>> >> >>> >> public void actionPerformed(ActionEvent arg0) { >>> >> speciesProfileSelected( >>> >> >>> >> speciesComboBox.getSelectedItem()); >>> >> } >>> >> >>> >> }); >>> >> >>> >> 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS >>> UNIPROT, THEN BASED ON DATABASE PROFILE >>> >> IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 >>> >> >>> >> >>> >> * Adjusts the dynamic content when a database profile is selected. >>> >> >>> >> * >>> >> >>> >> * >>> >> >>> >> @param selectedItem >>> >> */ >>> >> >>> >> >>> >> protected void databaseProfileSelected(Object selectedItem) { >>> >> >>> >> if (selectedItem instanceof DatabaseProfile) { >>> >> DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; >>> >> >>> >> ExportToGenMAPP.setDatabaseProfile(selectedProfile); >>> >> >>> >> >>> >> profileDescriptionTextArea.setText(selectedProfile.getDescription()); >>> >> >>> >> modSystemTextField.setText(selectedProfile.getMODSystem()); >>> >> >>> >> >>> >> //This is populating the list of items in the speciesProfile combobox >>> >> >>> >> // based on what database was selected. >>> >> >>> >> speciesComboBox.removeAllItems(); >>> >> >>> >> for (SpeciesProfile speciesProfile : >>> selectedProfile.getSpeciesProfilesFound()) { >>> >> >>> >> speciesComboBox.addItem(speciesProfile); >>> >> } >>> >> >>> >> } >>> >> >>> >> } >>> >> >>> >> SO I THINK THE METHOD I NEED TO SOURCE IS: >>> selectedProfile.getSpeciesProfilesFound()) >>> >> >>> >> SOUND GOOD SO FAR?? >>> >> >>> >> Richard >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> >>> wrote: >>> >> >>> >> OK, I'll look around and attempt to sniff out the code regarding >>> populating the drop down menu on the first export screen. >>> >> >>> >> But that said, I was surprised it didn't work since the functionality >>> 'seemed' to be in place for the two working species (P_a and S_a). And I >>> noticed that the working species don't always show in the drop down box, so >>> figured they likely aren't hard coded in. >>> >> >>> >> Richard >>> >> >>> >> >>> >> On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >> >>> >> Greetings, >>> >> >>> >> First off, recall that the taxon ID that is given to the species >>> profile is not involved in building the dropdown menu; it is used to match >>> the chosen taxon ID from that menu with a species profile to use. That >>> dropdown menu is built from a database query that retrieves all available >>> taxon IDs and species names in the PostgreSQL database. >>> >> >>> >> With that in mind, I would tackle this as follows: >>> >> >>> >> - First, track down the code that builds the data displayed in that >>> JComboBox. It should be trackable from the wizard panel code. If you're >>> having trouble finding it, let me know and I can take a stab at following >>> the breadcrumbs, or you can ask Don. >>> >> >>> >> This code should ultimately lead you to the database query that >>> derives the overall list of available taxon IDs and species names in the >>> PostgreSQL database. >>> >> >>> >> - Now, armed with this database query, you can verify the validity of >>> this query directly in PostgreSQL. Essentially you need to make sure that >>> this query does indeed retrieve the list of all taxon IDs and species names >>> that are present in the PostgreSQL database. >>> >> >>> >> If the query is correct, then the issue is in the way the JComboBox is >>> put together. This may need a little more knowledge of Swing that you have, >>> in which case send the issue my way and I can take a look. >>> >> >>> >> If the query is incorrect, then it should be corrected. If the Swing >>> code is correct, then things should work. If the Swing code is also >>> incorrect, then you are at the previous case, and the Swing code now needs >>> to be addressed (safe in the knowledge that the data part has been fixed). >>> >> >>> >> Let me know how that plan sounds to you. >>> >> >>> >> John David N. Dionisio, PhD >>> >> Associate Professor, Computer Science >>> >> Loyola Marymount University >>> >> >>> >> >>> >> >>> >> >>> >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: >>> >> >>> >>> Great, glad we are on the same page! >>> >>> >>> >>> I went ahead and added the taxon id to the Mtuberculosis species >>> profile, recompiled and initiated an export but the expected taxon id didn't >>> show in the species drop down box. >>> >>> >>> >>> The coded modified is (as shown above): >>> >>> >>> >>> >>> >>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >>> >>> >>> >>> super("Mycobacterium tuberculosis", 83332, >>> >>> >>> >>> "This profile customizes the GenMAPP Builder export for Mycobacterium >>> Tuberculosis data loaded from a UniProt XML file."); >>> >>> } >>> >>> >>> >>> Attached is a ss of the dialog box. >>> >>> >>> >>> I also checked to make sure the species was listed in the >>> UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species >>> are present. >>> >>> >>> >>> Any idea where i should look next aside from assuring that the change >>> is actually in my working build? >>> >>> >>> >>> Thanks! >>> >>> >>> >>> Richard >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>> >>> >>> Hi Rich, >>> >>> >>> >>> Thanks for the update. I agree that we can move past the merge stage >>> now. >>> >>> >>> >>> Regarding the species constructor, yes, having the required change >>> consist solely of the addition of the taxon ID really was the goal. >>> "Separation of concerns" and "don't repeat yourself" and all that :) Note >>> how, in the end, the designation of the taxon ID is truly the only piece of >>> additional information that is required of species profiles in order to get >>> the work done. So, this ideal is reflected in the code. >>> >>> >>> >>> Of course, there is a possibility that certain types of >>> customizations may require additional work; however that depends on the type >>> of customization involved and the way the species profile implements it. We >>> can approach those on a per-species-profile basis. >>> >>> >>> >>> John David N. Dionisio, PhD >>> >>> Associate Professor, Computer Science >>> >>> Loyola Marymount University >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: >>> >>> >>> >>>> Hi all, >>> >>>> >>> >>>> I recreated a multispecies postgres db for P_aeruginosa and S_aureus >>> and reimported the species xml files: >>> >>>> P_aeruginosa UniProtXML >>> >>>> P_aeruginosa goa >>> >>>> >>> >>>> S_aureus UniProtXML >>> >>>> S_aureus goa >>> >>>> >>> >>>> GO xml >>> >>>> processed go data >>> >>>> >>> >>>> I then exported P_aeruginosa .gdb using both Don's name2taxon code >>> and the new trunk (b64): both gdb's original row counts are identical >>> >>>> Also exported S_aureus using both Don's name2taxon code and the new >>> trunk (b64) : both gdb's original row counts are identical >>> >>>> >>> >>>> I think we can safely say that Don's name2taxon changes are working >>> at the point where he left off and the successful merge into the trunk is >>> now verfied. >>> >>>> >>> >>>> >>> ============================================================================= >>> >>>> >>> >>>> Now to move to species I am familiar with and ensure they still >>> match the base line gdb's generated from b63. >>> >>>> >>> >>>> The first species I will work on is Mtuberculosis. From the readme >>> file of the gdb previously posted, the taxon id is 83332. >>> >>>> >>> >>>> I will go ahead and make the change to the Mtuberculosis species >>> profile which is to add the taxon id in the form: >>> >>>> >>> >>>> >>> >>>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >>> >>>> >>> >>>> super("Mycobacterium tuberculosis", 83332, >>> >>>> >>> >>>> "This profile customizes the GenMAPP Builder export for >>> Mycobacterium Tuberculosis data loaded from a UniProt XML file."); >>> >>>> } >>> >>>> >>> >>>> When comparing to S_aereus species profile, it was the only change >>> to make in the Mtuberculosis species profile. >>> >>>> >>> >>>> I rechecked my notes from this morning and don't see any other >>> changes needed to enable our newer species to work with the post merge >>> constructor. >>> >>>> >>> >>>> I'll attempt an export tomorrow and see what happens. >>> >>>> >>> >>>> Richard >>> >>>> >>> >>>> On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>>> Follow the way the name2taxon “branch” was done. Put a gmbuilder/ >>> directory under tags/ if it is not already there, and make sure that the >>> copied/tagged/branched subdirectory under that corresponds to the top-level >>> directory of a gmbuilder project (i.e., it contains the build.xml, other >>> top-level directories, etc.). >>> >>>> >>> >>>> Subversion copies are “cheap:” it is OK to copy deep trees of files. >>> You only start using additional storage space if the files themselves get >>> modified. Otherwise, they are just references to their original versions. >>> >>>> >>> >>>> John David N. Dionisio, PhD >>> >>>> Associate Professor, Computer Science >>> >>>> Loyola Marymount University >>> >>>> >>> >>>> >>> >>>> >>> >>>> On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: >>> >>>> >>> >>>>> ok, so should I start at the gmbuilder directory Or the src >>> directory? >>> >>>>> >>> >>>>> On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>>>> Yes, in Subversion what they did is collapse both activities into a >>> single operation called "Copy." Whether you use the copy as a branch for >>> modifications, or use it as a tag for posterity, is left to the developer >>> and not the system. >>> >>>>> >>> >>>>> This functional change is the subject of some debate in the >>> community. Some folks still feel that "enforced" tags have their benefits. >>> But in the end, this is how Subversion conducts things, so we'll just have >>> to go with it. >>> >>>>> >>> >>>>> John David N. Dionisio, PhD >>> >>>>> Associate Professor, Computer Science >>> >>>>> Loyola Marymount University >>> >>>>> >>> >>>>> >>> >>>>> On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: >>> >>>>> >>> >>>>>> ok, makes sense because when I went through the process (without >>> clicking finish) there was really no difference between the two... not even >>> a specification to say this this is a "tag" vs "branch" unless I can only do >>> that in the comments. >>> >>>>>> >>> >>>>>> On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>>>>> Yes, tags and branches are structurally identical in Subversion. >>> The only difference between a “tag” and a “branch” is that the developers >>> have agreed to *not* touch a tag after it has been copied out. >>> >>>>>> >>> >>>>>> In other words, “tags” and “branches” are only different in >>> Subversion by consensus. The distinction is not system-enforced. >>> >>>>>> >>> >>>>>> John David N. Dionisio, PhD >>> >>>>>> Associate Professor, Computer Science >>> >>>>>> Loyola Marymount University >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: >>> >>>>>> >>> >>>>>>> tagging is really creating a new branch for posterity? >>> >>>>>>> >>> >>>>>>> On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>>>>>> You'll want to tag from the repository, since your local copy has >>> been modified. If you issue the tag command from the SVN Repository Viewing >>> perspective, that should happen server-side. >>> >>>>>>> >>> >>>>>>> If you want to play it really safe, you can even do the tagging >>> from a completely separate Eclipse workspace that does not have your local >>> copies loaded up. >>> >>>>>>> >>> >>>>>>> John David N. Dionisio, PhD >>> >>>>>>> Associate Professor, Computer Science >>> >>>>>>> Loyola Marymount University >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: >>> >>>>>>> >>> >>>>>>>> Am I tagging in my local project or in the repository? >>> >>>>>>>> >>> >>>>>>>> On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < >>> do...@lm...> wrote: >>> >>>>>>>> Hi Rich, >>> >>>>>>>> >>> >>>>>>>> I think it's OK to commit to the trunk, with one tweak for easy >>> management: before committing, copy out ("tag") what is in the trunk right >>> now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something >>> like that). This way, you have an easy basis for comparison if you need to >>> go back to how the trunk was before name2taxon came along. >>> >>>>>>>> >>> >>>>>>>> Also, it will save some time if your before- and after- .gdbs >>> are available. Running our own exports, while of course doable as you said, >>> would require things like getting old versions, building them, etc. >>> >>>>>>>> >>> >>>>>>>> Happy digital forensics... >>> >>>>>>>> >>> >>>>>>>> John David N. Dionisio, PhD >>> >>>>>>>> Associate Professor, Computer Science >>> >>>>>>>> Loyola Marymount University >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: >>> >>>>>>>> >>> >>>>>>>>> Hi all, >>> >>>>>>>>> >>> >>>>>>>>> Started a new thread since this is Pfalciparum specific. >>> >>>>>>>>> >>> >>>>>>>>> I have double checked my manual merge to confirm that in fact >>> my edits were correctly included for Mtuberculosis and Pfalciparum. >>> >>>>>>>>> >>> >>>>>>>>> So when running gdb exports for each I determined that in fact >>> something broke in the merge. >>> >>>>>>>>> >>> >>>>>>>>> Before I start digging into this further I want to ask a couple >>> questions: >>> >>>>>>>>> >>> >>>>>>>>> 1. Should I commit the changes up to Sourceforge yet or leave >>> them locally on my laptop while troubleshooting? I know we can revert to >>> earlier versions if needed but wanted to be sure we were all on same page. >>> >>>>>>>>> >>> >>>>>>>>> 2. I have before and after exports of Mtuberculosis and >>> Pfalciparum on my laptop. Would you like me to post them for review or will >>> you be running your own anyway? >>> >>>>>>>>> >>> >>>>>>>>> Richard >>> >>>>>>>>> <ATT00001..txt><ATT00002..txt> >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> ------------------------------------------------------------------------------ >>> >>>>>>>> Create and publish websites with WebMatrix >>> >>>>>>>> Use the most popular FREE web apps or write code yourself; >>> >>>>>>>> WebMatrix provides all the features you need to develop and >>> >>>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>>>>>>> _______________________________________________ >>> >>>>>>>> xmlpipedb-developer mailing list >>> >>>>>>>> xml...@li... >>> >>>>>>>> >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>>>>>>> >>> >>>>>>>> <ATT00001..txt><ATT00002..txt> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> ------------------------------------------------------------------------------ >>> >>>>>>> Create and publish websites with WebMatrix >>> >>>>>>> Use the most popular FREE web apps or write code yourself; >>> >>>>>>> WebMatrix provides all the features you need to develop and >>> >>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>>>>>> _______________________________________________ >>> >>>>>>> xmlpipedb-developer mailing list >>> >>>>>>> xml...@li... >>> >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>>>>>> >>> >>>>>>> <ATT00001..txt><ATT00002..txt> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> ------------------------------------------------------------------------------ >>> >>>>>> Create and publish websites with WebMatrix >>> >>>>>> Use the most popular FREE web apps or write code yourself; >>> >>>>>> WebMatrix provides all the features you need to develop and >>> >>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>>>>> _______________________________________________ >>> >>>>>> xmlpipedb-developer mailing list >>> >>>>>> xml...@li... >>> >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>>>>> >>> >>>>>> <ATT00001..txt><ATT00002..txt> >>> >>>>> >>> >>>>> >>> >>>>> >>> ------------------------------------------------------------------------------ >>> >>>>> Create and publish websites with WebMatrix >>> >>>>> Use the most popular FREE web apps or write code yourself; >>> >>>>> WebMatrix provides all the features you need to develop and >>> >>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>>>> _______________________________________________ >>> >>>>> xmlpipedb-developer mailing list >>> >>>>> xml...@li... >>> >>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>>>> >>> >>>>> <ATT00001..txt><ATT00002..txt> >>> >>>> >>> >>>> >>> >>>> >>> ------------------------------------------------------------------------------ >>> >>>> Create and publish websites with WebMatrix >>> >>>> Use the most popular FREE web apps or write code yourself; >>> >>>> WebMatrix provides all the features you need to develop and >>> >>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>>> _______________________________________________ >>> >>>> xmlpipedb-developer mailing list >>> >>>> xml...@li... >>> >>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>>> >>> >>> >>> >>>> <ATT00001..txt><ATT00002..txt> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Forrester Wave Report - Recovery time is now measured in hours and >>> minutes >>> >>> not days. Key insights are discussed in the 2010 Forrester Wave >>> Report as >>> >>> part of an in-depth evaluation of disaster recovery service >>> providers. >>> >>> Forrester found the best-in-class provider in terms of services and >>> vision. >>> >>> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >>> >>> >>> >>> _______________________________________________ >>> >>> xmlpipedb-developer mailing list >>> >>> xml...@li... >>> >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>> >>> >>> >>> >> >>> >>> <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >>> >> Forrester Wave Report - Recovery time is now measured in hours and >>> minutes >>> >> not days. Key insights are discussed in the 2010 Forrester Wave Report >>> as >>> >> part of an in-depth evaluation of disaster recovery service providers. >>> >> Forrester found the best-in-class provider in terms of services and >>> vision. >>> >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >>> >> _______________________________________________ >>> >> xmlpipedb-developer mailing list >>> >> xml...@li... >>> >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >> >>> >> >>> >> >>> >> <ATT00001..txt><ATT00002..txt> >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > Forrester Wave Report - Recovery time is now measured in hours and >>> minutes >>> > not days. Key insights are discussed in the 2010 Forrester Wave Report >>> as >>> > part of an in-depth evaluation of disaster recovery service providers. >>> > Forrester found the best-in-class provider in terms of services and >>> vision. >>> > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >>> > _______________________________________________ >>> > xmlpipedb-developer mailing list >>> > xml...@li... >>> > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >> >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about >> boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > |
From: Richard B. <rbr...@gm...> - 2011-04-15 03:52:21
|
No intrusion Don =D Thanks for the suggestion. I'll give it a try and let the distribution know the findings. Richard Sent from my iPhone On Apr 14, 2011, at 7:07 PM, Don Murphy <djs...@gm...> wrote: > Forgive my intrusion, but I have an idea of what may be the problem. In the screenshot you provided, the only species shown in the drop down box, as taken from the source files, is taxon id 1773. An quick Google search reveals that 1773 is the general taxon id for Mycobacterium tuberculosis. In the profile you created, the taxon id used is 83332, which is for M. tuberculosis strain H37Rv. The problem seems to be that the profile you created was for the certain strain, while your source files were for M. tuberculosis in general. Try changing the profile to use the id 1773 and see if that helps. > > On Thu, Apr 14, 2011 at 6:53 PM, Richard Brous <rbr...@gm...> wrote: > OK, found the method and reviewed it. > > It makes sense and I believe it should work as is unless I'm reading the code wrong. > > I don't see how if the taxon id is included in the Mtuberculosis species profile (which it is) why this shouldn't work? > > Help please, what am i missing? > > richard > > On Thu, Apr 14, 2011 at 11:04 AM, Richard Brous <rbr...@gm...> wrote: > Gotcha, will check it out later today as well as post gdb's up to the wiki. > > Rb > > Sent from my iPhone > > On Apr 13, 2011, at 11:32 AM, "John David N. Dionisio" <do...@lm...> wrote: > > > Greetings, > > > > Sorry for the delay; I ended up digging through the code a bit so I would be sure of the response. > > > > getSpeciesProfilesFound does indeed feed the combo box that you want to touch, but it turns out that the array returned by this method is not built here. > > > > The code that builds the array returned by getSpeciesProfilesFound is located in UniProtDatabaseProfile; the method is called checkRequirements. This is the method that performs the query which retrieves the available taxon IDs from the relational database. > > > > The intent of the method is this: if a custom species profile is found that matches the taxon ID, then that species profile is added to the list. If a custom species profile is *not* found, a generic species profile initialized to the taxon ID is added instead. > > > > That is the method's intent. As you have seen, it may need some cleanup and/or fixing. But there it is for you: UniProtDatabaseProfile.checkRequirements. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: > > > >> OK, in ExportPanel1.java i found the following: > >> > >> 1. COMBOBOX DEFINED ON LINE 59 > >> private > >> > >> JComboBox speciesComboBox; > >> 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING ON LINE 141 > >> > >> // Species | JComboBox | speciesFound | JLabel | Description > >> > >> > >> // | JTextField | customizable name > >> > >> speciesComboBox = new JComboBox(); > >> > >> speciesComboBox.addActionListener(new ActionListener() { > >> > >> public void actionPerformed(ActionEvent arg0) { > >> speciesProfileSelected( > >> > >> speciesComboBox.getSelectedItem()); > >> } > >> > >> }); > >> > >> 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS UNIPROT, THEN BASED ON DATABASE PROFILE > >> IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 > >> > >> > >> * Adjusts the dynamic content when a database profile is selected. > >> > >> * > >> > >> * > >> > >> @param selectedItem > >> */ > >> > >> > >> protected void databaseProfileSelected(Object selectedItem) { > >> > >> if (selectedItem instanceof DatabaseProfile) { > >> DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; > >> > >> ExportToGenMAPP.setDatabaseProfile(selectedProfile); > >> > >> > >> profileDescriptionTextArea.setText(selectedProfile.getDescription()); > >> > >> modSystemTextField.setText(selectedProfile.getMODSystem()); > >> > >> > >> //This is populating the list of items in the speciesProfile combobox > >> > >> // based on what database was selected. > >> > >> speciesComboBox.removeAllItems(); > >> > >> for (SpeciesProfile speciesProfile : selectedProfile.getSpeciesProfilesFound()) { > >> > >> speciesComboBox.addItem(speciesProfile); > >> } > >> > >> } > >> > >> } > >> > >> SO I THINK THE METHOD I NEED TO SOURCE IS: selectedProfile.getSpeciesProfilesFound()) > >> > >> SOUND GOOD SO FAR?? > >> > >> Richard > >> > >> > >> > >> > >> > >> On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> wrote: > >> > >> OK, I'll look around and attempt to sniff out the code regarding populating the drop down menu on the first export screen. > >> > >> But that said, I was surprised it didn't work since the functionality 'seemed' to be in place for the two working species (P_a and S_a). And I noticed that the working species don't always show in the drop down box, so figured they likely aren't hard coded in. > >> > >> Richard > >> > >> > >> On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...> wrote: > >> > >> Greetings, > >> > >> First off, recall that the taxon ID that is given to the species profile is not involved in building the dropdown menu; it is used to match the chosen taxon ID from that menu with a species profile to use. That dropdown menu is built from a database query that retrieves all available taxon IDs and species names in the PostgreSQL database. > >> > >> With that in mind, I would tackle this as follows: > >> > >> - First, track down the code that builds the data displayed in that JComboBox. It should be trackable from the wizard panel code. If you're having trouble finding it, let me know and I can take a stab at following the breadcrumbs, or you can ask Don. > >> > >> This code should ultimately lead you to the database query that derives the overall list of available taxon IDs and species names in the PostgreSQL database. > >> > >> - Now, armed with this database query, you can verify the validity of this query directly in PostgreSQL. Essentially you need to make sure that this query does indeed retrieve the list of all taxon IDs and species names that are present in the PostgreSQL database. > >> > >> If the query is correct, then the issue is in the way the JComboBox is put together. This may need a little more knowledge of Swing that you have, in which case send the issue my way and I can take a look. > >> > >> If the query is incorrect, then it should be corrected. If the Swing code is correct, then things should work. If the Swing code is also incorrect, then you are at the previous case, and the Swing code now needs to be addressed (safe in the knowledge that the data part has been fixed). > >> > >> Let me know how that plan sounds to you. > >> > >> John David N. Dionisio, PhD > >> Associate Professor, Computer Science > >> Loyola Marymount University > >> > >> > >> > >> > >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: > >> > >>> Great, glad we are on the same page! > >>> > >>> I went ahead and added the taxon id to the Mtuberculosis species profile, recompiled and initiated an export but the expected taxon id didn't show in the species drop down box. > >>> > >>> The coded modified is (as shown above): > >>> > >>> > >>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { > >>> > >>> super("Mycobacterium tuberculosis", 83332, > >>> > >>> "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > >>> } > >>> > >>> Attached is a ss of the dialog box. > >>> > >>> I also checked to make sure the species was listed in the UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species are present. > >>> > >>> Any idea where i should look next aside from assuring that the change is actually in my working build? > >>> > >>> Thanks! > >>> > >>> Richard > >>> > >>> > >>> > >>> > >>> On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> wrote: > >>> > >>> Hi Rich, > >>> > >>> Thanks for the update. I agree that we can move past the merge stage now. > >>> > >>> Regarding the species constructor, yes, having the required change consist solely of the addition of the taxon ID really was the goal. "Separation of concerns" and "don't repeat yourself" and all that :) Note how, in the end, the designation of the taxon ID is truly the only piece of additional information that is required of species profiles in order to get the work done. So, this ideal is reflected in the code. > >>> > >>> Of course, there is a possibility that certain types of customizations may require additional work; however that depends on the type of customization involved and the way the species profile implements it. We can approach those on a per-species-profile basis. > >>> > >>> John David N. Dionisio, PhD > >>> Associate Professor, Computer Science > >>> Loyola Marymount University > >>> > >>> > >>> > >>> > >>> On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > >>> > >>>> Hi all, > >>>> > >>>> I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: > >>>> P_aeruginosa UniProtXML > >>>> P_aeruginosa goa > >>>> > >>>> S_aureus UniProtXML > >>>> S_aureus goa > >>>> > >>>> GO xml > >>>> processed go data > >>>> > >>>> I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical > >>>> Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical > >>>> > >>>> I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. > >>>> > >>>> ============================================================================= > >>>> > >>>> Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. > >>>> > >>>> The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. > >>>> > >>>> I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: > >>>> > >>>> > >>>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { > >>>> > >>>> super("Mycobacterium tuberculosis", 83332, > >>>> > >>>> "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > >>>> } > >>>> > >>>> When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. > >>>> > >>>> I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. > >>>> > >>>> I'll attempt an export tomorrow and see what happens. > >>>> > >>>> Richard > >>>> > >>>> On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> wrote: > >>>> Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). > >>>> > >>>> Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. > >>>> > >>>> John David N. Dionisio, PhD > >>>> Associate Professor, Computer Science > >>>> Loyola Marymount University > >>>> > >>>> > >>>> > >>>> On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > >>>> > >>>>> ok, so should I start at the gmbuilder directory Or the src directory? > >>>>> > >>>>> On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: > >>>>> Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. > >>>>> > >>>>> This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. > >>>>> > >>>>> John David N. Dionisio, PhD > >>>>> Associate Professor, Computer Science > >>>>> Loyola Marymount University > >>>>> > >>>>> > >>>>> On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > >>>>> > >>>>>> ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > >>>>>> > >>>>>> On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > >>>>>> Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > >>>>>> > >>>>>> In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > >>>>>> > >>>>>> John David N. Dionisio, PhD > >>>>>> Associate Professor, Computer Science > >>>>>> Loyola Marymount University > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > >>>>>> > >>>>>>> tagging is really creating a new branch for posterity? > >>>>>>> > >>>>>>> On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > >>>>>>> You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > >>>>>>> > >>>>>>> If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > >>>>>>> > >>>>>>> John David N. Dionisio, PhD > >>>>>>> Associate Professor, Computer Science > >>>>>>> Loyola Marymount University > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > >>>>>>> > >>>>>>>> Am I tagging in my local project or in the repository? > >>>>>>>> > >>>>>>>> On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > >>>>>>>> Hi Rich, > >>>>>>>> > >>>>>>>> I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > >>>>>>>> > >>>>>>>> Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > >>>>>>>> > >>>>>>>> Happy digital forensics... > >>>>>>>> > >>>>>>>> John David N. Dionisio, PhD > >>>>>>>> Associate Professor, Computer Science > >>>>>>>> Loyola Marymount University > >>>>>>>> > >>>>>>>> > >>>>>>>> On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > >>>>>>>> > >>>>>>>>> Hi all, > >>>>>>>>> > >>>>>>>>> Started a new thread since this is Pfalciparum specific. > >>>>>>>>> > >>>>>>>>> I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > >>>>>>>>> > >>>>>>>>> So when running gdb exports for each I determined that in fact something broke in the merge. > >>>>>>>>> > >>>>>>>>> Before I start digging into this further I want to ask a couple questions: > >>>>>>>>> > >>>>>>>>> 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > >>>>>>>>> > >>>>>>>>> 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > >>>>>>>>> > >>>>>>>>> Richard > >>>>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>>>> > >>>>>>>> > >>>>>>>> ------------------------------------------------------------------------------ > >>>>>>>> Create and publish websites with WebMatrix > >>>>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>>>> WebMatrix provides all the features you need to develop and > >>>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>>>> _______________________________________________ > >>>>>>>> xmlpipedb-developer mailing list > >>>>>>>> xml...@li... > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>>>> > >>>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>>> > >>>>>>> > >>>>>>> ------------------------------------------------------------------------------ > >>>>>>> Create and publish websites with WebMatrix > >>>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>>> WebMatrix provides all the features you need to develop and > >>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>>> _______________________________________________ > >>>>>>> xmlpipedb-developer mailing list > >>>>>>> xml...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>>> > >>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>> > >>>>>> > >>>>>> ------------------------------------------------------------------------------ > >>>>>> Create and publish websites with WebMatrix > >>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>> WebMatrix provides all the features you need to develop and > >>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>> _______________________________________________ > >>>>>> xmlpipedb-developer mailing list > >>>>>> xml...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>> > >>>>>> <ATT00001..txt><ATT00002..txt> > >>>>> > >>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>> Create and publish websites with WebMatrix > >>>>> Use the most popular FREE web apps or write code yourself; > >>>>> WebMatrix provides all the features you need to develop and > >>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>> _______________________________________________ > >>>>> xmlpipedb-developer mailing list > >>>>> xml...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>> > >>>>> <ATT00001..txt><ATT00002..txt> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> Create and publish websites with WebMatrix > >>>> Use the most popular FREE web apps or write code yourself; > >>>> WebMatrix provides all the features you need to develop and > >>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>> _______________________________________________ > >>>> xmlpipedb-developer mailing list > >>>> xml...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>> > >>> > >>>> <ATT00001..txt><ATT00002..txt> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Forrester Wave Report - Recovery time is now measured in hours and minutes > >>> not days. Key insights are discussed in the 2010 Forrester Wave Report as > >>> part of an in-depth evaluation of disaster recovery service providers. > >>> Forrester found the best-in-class provider in terms of services and vision. > >>> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > >>> > >>> _______________________________________________ > >>> xmlpipedb-developer mailing list > >>> xml...@li... > >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>> > >>> > >> > >>> <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> > >> > >> > >> ------------------------------------------------------------------------------ > >> Forrester Wave Report - Recovery time is now measured in hours and minutes > >> not days. Key insights are discussed in the 2010 Forrester Wave Report as > >> part of an in-depth evaluation of disaster recovery service providers. > >> Forrester found the best-in-class provider in terms of services and vision. > >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > >> _______________________________________________ > >> xmlpipedb-developer mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >> > >> > >> > >> <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and minutes > > not days. Key insights are discussed in the 2010 Forrester Wave Report as > > part of an in-depth evaluation of disaster recovery service providers. > > Forrester found the best-in-class provider in terms of services and vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer |
From: Don M. <djs...@gm...> - 2011-04-15 02:07:40
|
Forgive my intrusion, but I have an idea of what may be the problem. In the screenshot you provided, the only species shown in the drop down box, as taken from the source files, is taxon id 1773. An quick Google search reveals that 1773 is the general taxon id for Mycobacterium tuberculosis. In the profile you created, the taxon id used is 83332, which is for M. tuberculosis strain H37Rv. The problem seems to be that the profile you created was for the certain strain, while your source files were for M. tuberculosis in general. Try changing the profile to use the id 1773 and see if that helps. On Thu, Apr 14, 2011 at 6:53 PM, Richard Brous <rbr...@gm...> wrote: > OK, found the method and reviewed it. > > It makes sense and I believe it should work as is unless I'm reading the > code wrong. > > I don't see how if the taxon id is included in the Mtuberculosis species > profile (which it is) why this shouldn't work? > > Help please, what am i missing? > > richard > > On Thu, Apr 14, 2011 at 11:04 AM, Richard Brous <rbr...@gm...>wrote: > >> Gotcha, will check it out later today as well as post gdb's up to the >> wiki. >> >> Rb >> >> Sent from my iPhone >> >> On Apr 13, 2011, at 11:32 AM, "John David N. Dionisio" <do...@lm...> >> wrote: >> >> > Greetings, >> > >> > Sorry for the delay; I ended up digging through the code a bit so I >> would be sure of the response. >> > >> > getSpeciesProfilesFound does indeed feed the combo box that you want to >> touch, but it turns out that the array returned by this method is not built >> here. >> > >> > The code that builds the array returned by getSpeciesProfilesFound is >> located in UniProtDatabaseProfile; the method is called checkRequirements. >> This is the method that performs the query which retrieves the available >> taxon IDs from the relational database. >> > >> > The intent of the method is this: if a custom species profile is found >> that matches the taxon ID, then that species profile is added to the list. >> If a custom species profile is *not* found, a generic species profile >> initialized to the taxon ID is added instead. >> > >> > That is the method's intent. As you have seen, it may need some cleanup >> and/or fixing. But there it is for you: >> UniProtDatabaseProfile.checkRequirements. >> > >> > John David N. Dionisio, PhD >> > Associate Professor, Computer Science >> > Loyola Marymount University >> > >> > >> > >> > On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: >> > >> >> OK, in ExportPanel1.java i found the following: >> >> >> >> 1. COMBOBOX DEFINED ON LINE 59 >> >> private >> >> >> >> JComboBox speciesComboBox; >> >> 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING >> ON LINE 141 >> >> >> >> // Species | JComboBox | speciesFound | JLabel | Description >> >> >> >> >> >> // | JTextField | customizable name >> >> >> >> speciesComboBox = new JComboBox(); >> >> >> >> speciesComboBox.addActionListener(new ActionListener() { >> >> >> >> public void actionPerformed(ActionEvent arg0) { >> >> speciesProfileSelected( >> >> >> >> speciesComboBox.getSelectedItem()); >> >> } >> >> >> >> }); >> >> >> >> 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS >> UNIPROT, THEN BASED ON DATABASE PROFILE >> >> IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 >> >> >> >> >> >> * Adjusts the dynamic content when a database profile is selected. >> >> >> >> * >> >> >> >> * >> >> >> >> @param selectedItem >> >> */ >> >> >> >> >> >> protected void databaseProfileSelected(Object selectedItem) { >> >> >> >> if (selectedItem instanceof DatabaseProfile) { >> >> DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; >> >> >> >> ExportToGenMAPP.setDatabaseProfile(selectedProfile); >> >> >> >> >> >> profileDescriptionTextArea.setText(selectedProfile.getDescription()); >> >> >> >> modSystemTextField.setText(selectedProfile.getMODSystem()); >> >> >> >> >> >> //This is populating the list of items in the speciesProfile combobox >> >> >> >> // based on what database was selected. >> >> >> >> speciesComboBox.removeAllItems(); >> >> >> >> for (SpeciesProfile speciesProfile : >> selectedProfile.getSpeciesProfilesFound()) { >> >> >> >> speciesComboBox.addItem(speciesProfile); >> >> } >> >> >> >> } >> >> >> >> } >> >> >> >> SO I THINK THE METHOD I NEED TO SOURCE IS: >> selectedProfile.getSpeciesProfilesFound()) >> >> >> >> SOUND GOOD SO FAR?? >> >> >> >> Richard >> >> >> >> >> >> >> >> >> >> >> >> On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> >> wrote: >> >> >> >> OK, I'll look around and attempt to sniff out the code regarding >> populating the drop down menu on the first export screen. >> >> >> >> But that said, I was surprised it didn't work since the functionality >> 'seemed' to be in place for the two working species (P_a and S_a). And I >> noticed that the working species don't always show in the drop down box, so >> figured they likely aren't hard coded in. >> >> >> >> Richard >> >> >> >> >> >> On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...> >> wrote: >> >> >> >> Greetings, >> >> >> >> First off, recall that the taxon ID that is given to the species >> profile is not involved in building the dropdown menu; it is used to match >> the chosen taxon ID from that menu with a species profile to use. That >> dropdown menu is built from a database query that retrieves all available >> taxon IDs and species names in the PostgreSQL database. >> >> >> >> With that in mind, I would tackle this as follows: >> >> >> >> - First, track down the code that builds the data displayed in that >> JComboBox. It should be trackable from the wizard panel code. If you're >> having trouble finding it, let me know and I can take a stab at following >> the breadcrumbs, or you can ask Don. >> >> >> >> This code should ultimately lead you to the database query that derives >> the overall list of available taxon IDs and species names in the PostgreSQL >> database. >> >> >> >> - Now, armed with this database query, you can verify the validity of >> this query directly in PostgreSQL. Essentially you need to make sure that >> this query does indeed retrieve the list of all taxon IDs and species names >> that are present in the PostgreSQL database. >> >> >> >> If the query is correct, then the issue is in the way the JComboBox is >> put together. This may need a little more knowledge of Swing that you have, >> in which case send the issue my way and I can take a look. >> >> >> >> If the query is incorrect, then it should be corrected. If the Swing >> code is correct, then things should work. If the Swing code is also >> incorrect, then you are at the previous case, and the Swing code now needs >> to be addressed (safe in the knowledge that the data part has been fixed). >> >> >> >> Let me know how that plan sounds to you. >> >> >> >> John David N. Dionisio, PhD >> >> Associate Professor, Computer Science >> >> Loyola Marymount University >> >> >> >> >> >> >> >> >> >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: >> >> >> >>> Great, glad we are on the same page! >> >>> >> >>> I went ahead and added the taxon id to the Mtuberculosis species >> profile, recompiled and initiated an export but the expected taxon id didn't >> show in the species drop down box. >> >>> >> >>> The coded modified is (as shown above): >> >>> >> >>> >> >>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >> >>> >> >>> super("Mycobacterium tuberculosis", 83332, >> >>> >> >>> "This profile customizes the GenMAPP Builder export for Mycobacterium >> Tuberculosis data loaded from a UniProt XML file."); >> >>> } >> >>> >> >>> Attached is a ss of the dialog box. >> >>> >> >>> I also checked to make sure the species was listed in the >> UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species >> are present. >> >>> >> >>> Any idea where i should look next aside from assuring that the change >> is actually in my working build? >> >>> >> >>> Thanks! >> >>> >> >>> Richard >> >>> >> >>> >> >>> >> >>> >> >>> On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio < >> do...@lm...> wrote: >> >>> >> >>> Hi Rich, >> >>> >> >>> Thanks for the update. I agree that we can move past the merge stage >> now. >> >>> >> >>> Regarding the species constructor, yes, having the required change >> consist solely of the addition of the taxon ID really was the goal. >> "Separation of concerns" and "don't repeat yourself" and all that :) Note >> how, in the end, the designation of the taxon ID is truly the only piece of >> additional information that is required of species profiles in order to get >> the work done. So, this ideal is reflected in the code. >> >>> >> >>> Of course, there is a possibility that certain types of customizations >> may require additional work; however that depends on the type of >> customization involved and the way the species profile implements it. We >> can approach those on a per-species-profile basis. >> >>> >> >>> John David N. Dionisio, PhD >> >>> Associate Professor, Computer Science >> >>> Loyola Marymount University >> >>> >> >>> >> >>> >> >>> >> >>> On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: >> >>> >> >>>> Hi all, >> >>>> >> >>>> I recreated a multispecies postgres db for P_aeruginosa and S_aureus >> and reimported the species xml files: >> >>>> P_aeruginosa UniProtXML >> >>>> P_aeruginosa goa >> >>>> >> >>>> S_aureus UniProtXML >> >>>> S_aureus goa >> >>>> >> >>>> GO xml >> >>>> processed go data >> >>>> >> >>>> I then exported P_aeruginosa .gdb using both Don's name2taxon code >> and the new trunk (b64): both gdb's original row counts are identical >> >>>> Also exported S_aureus using both Don's name2taxon code and the new >> trunk (b64) : both gdb's original row counts are identical >> >>>> >> >>>> I think we can safely say that Don's name2taxon changes are working >> at the point where he left off and the successful merge into the trunk is >> now verfied. >> >>>> >> >>>> >> ============================================================================= >> >>>> >> >>>> Now to move to species I am familiar with and ensure they still match >> the base line gdb's generated from b63. >> >>>> >> >>>> The first species I will work on is Mtuberculosis. From the readme >> file of the gdb previously posted, the taxon id is 83332. >> >>>> >> >>>> I will go ahead and make the change to the Mtuberculosis species >> profile which is to add the taxon id in the form: >> >>>> >> >>>> >> >>>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >> >>>> >> >>>> super("Mycobacterium tuberculosis", 83332, >> >>>> >> >>>> "This profile customizes the GenMAPP Builder export for Mycobacterium >> Tuberculosis data loaded from a UniProt XML file."); >> >>>> } >> >>>> >> >>>> When comparing to S_aereus species profile, it was the only change to >> make in the Mtuberculosis species profile. >> >>>> >> >>>> I rechecked my notes from this morning and don't see any other >> changes needed to enable our newer species to work with the post merge >> constructor. >> >>>> >> >>>> I'll attempt an export tomorrow and see what happens. >> >>>> >> >>>> Richard >> >>>> >> >>>> On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio < >> do...@lm...> wrote: >> >>>> Follow the way the name2taxon “branch” was done. Put a gmbuilder/ >> directory under tags/ if it is not already there, and make sure that the >> copied/tagged/branched subdirectory under that corresponds to the top-level >> directory of a gmbuilder project (i.e., it contains the build.xml, other >> top-level directories, etc.). >> >>>> >> >>>> Subversion copies are “cheap:” it is OK to copy deep trees of files. >> You only start using additional storage space if the files themselves get >> modified. Otherwise, they are just references to their original versions. >> >>>> >> >>>> John David N. Dionisio, PhD >> >>>> Associate Professor, Computer Science >> >>>> Loyola Marymount University >> >>>> >> >>>> >> >>>> >> >>>> On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: >> >>>> >> >>>>> ok, so should I start at the gmbuilder directory Or the src >> directory? >> >>>>> >> >>>>> On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio < >> do...@lm...> wrote: >> >>>>> Yes, in Subversion what they did is collapse both activities into a >> single operation called "Copy." Whether you use the copy as a branch for >> modifications, or use it as a tag for posterity, is left to the developer >> and not the system. >> >>>>> >> >>>>> This functional change is the subject of some debate in the >> community. Some folks still feel that "enforced" tags have their benefits. >> But in the end, this is how Subversion conducts things, so we'll just have >> to go with it. >> >>>>> >> >>>>> John David N. Dionisio, PhD >> >>>>> Associate Professor, Computer Science >> >>>>> Loyola Marymount University >> >>>>> >> >>>>> >> >>>>> On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: >> >>>>> >> >>>>>> ok, makes sense because when I went through the process (without >> clicking finish) there was really no difference between the two... not even >> a specification to say this this is a "tag" vs "branch" unless I can only do >> that in the comments. >> >>>>>> >> >>>>>> On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio < >> do...@lm...> wrote: >> >>>>>> Yes, tags and branches are structurally identical in Subversion. >> The only difference between a “tag” and a “branch” is that the developers >> have agreed to *not* touch a tag after it has been copied out. >> >>>>>> >> >>>>>> In other words, “tags” and “branches” are only different in >> Subversion by consensus. The distinction is not system-enforced. >> >>>>>> >> >>>>>> John David N. Dionisio, PhD >> >>>>>> Associate Professor, Computer Science >> >>>>>> Loyola Marymount University >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: >> >>>>>> >> >>>>>>> tagging is really creating a new branch for posterity? >> >>>>>>> >> >>>>>>> On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < >> do...@lm...> wrote: >> >>>>>>> You'll want to tag from the repository, since your local copy has >> been modified. If you issue the tag command from the SVN Repository Viewing >> perspective, that should happen server-side. >> >>>>>>> >> >>>>>>> If you want to play it really safe, you can even do the tagging >> from a completely separate Eclipse workspace that does not have your local >> copies loaded up. >> >>>>>>> >> >>>>>>> John David N. Dionisio, PhD >> >>>>>>> Associate Professor, Computer Science >> >>>>>>> Loyola Marymount University >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: >> >>>>>>> >> >>>>>>>> Am I tagging in my local project or in the repository? >> >>>>>>>> >> >>>>>>>> On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < >> do...@lm...> wrote: >> >>>>>>>> Hi Rich, >> >>>>>>>> >> >>>>>>>> I think it's OK to commit to the trunk, with one tweak for easy >> management: before committing, copy out ("tag") what is in the trunk right >> now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something >> like that). This way, you have an easy basis for comparison if you need to >> go back to how the trunk was before name2taxon came along. >> >>>>>>>> >> >>>>>>>> Also, it will save some time if your before- and after- .gdbs are >> available. Running our own exports, while of course doable as you said, >> would require things like getting old versions, building them, etc. >> >>>>>>>> >> >>>>>>>> Happy digital forensics... >> >>>>>>>> >> >>>>>>>> John David N. Dionisio, PhD >> >>>>>>>> Associate Professor, Computer Science >> >>>>>>>> Loyola Marymount University >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: >> >>>>>>>> >> >>>>>>>>> Hi all, >> >>>>>>>>> >> >>>>>>>>> Started a new thread since this is Pfalciparum specific. >> >>>>>>>>> >> >>>>>>>>> I have double checked my manual merge to confirm that in fact my >> edits were correctly included for Mtuberculosis and Pfalciparum. >> >>>>>>>>> >> >>>>>>>>> So when running gdb exports for each I determined that in fact >> something broke in the merge. >> >>>>>>>>> >> >>>>>>>>> Before I start digging into this further I want to ask a couple >> questions: >> >>>>>>>>> >> >>>>>>>>> 1. Should I commit the changes up to Sourceforge yet or leave >> them locally on my laptop while troubleshooting? I know we can revert to >> earlier versions if needed but wanted to be sure we were all on same page. >> >>>>>>>>> >> >>>>>>>>> 2. I have before and after exports of Mtuberculosis and >> Pfalciparum on my laptop. Would you like me to post them for review or will >> you be running your own anyway? >> >>>>>>>>> >> >>>>>>>>> Richard >> >>>>>>>>> <ATT00001..txt><ATT00002..txt> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> ------------------------------------------------------------------------------ >> >>>>>>>> Create and publish websites with WebMatrix >> >>>>>>>> Use the most popular FREE web apps or write code yourself; >> >>>>>>>> WebMatrix provides all the features you need to develop and >> >>>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >>>>>>>> _______________________________________________ >> >>>>>>>> xmlpipedb-developer mailing list >> >>>>>>>> xml...@li... >> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>>>>>>> >> >>>>>>>> <ATT00001..txt><ATT00002..txt> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> ------------------------------------------------------------------------------ >> >>>>>>> Create and publish websites with WebMatrix >> >>>>>>> Use the most popular FREE web apps or write code yourself; >> >>>>>>> WebMatrix provides all the features you need to develop and >> >>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >>>>>>> _______________________________________________ >> >>>>>>> xmlpipedb-developer mailing list >> >>>>>>> xml...@li... >> >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>>>>>> >> >>>>>>> <ATT00001..txt><ATT00002..txt> >> >>>>>> >> >>>>>> >> >>>>>> >> ------------------------------------------------------------------------------ >> >>>>>> Create and publish websites with WebMatrix >> >>>>>> Use the most popular FREE web apps or write code yourself; >> >>>>>> WebMatrix provides all the features you need to develop and >> >>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >>>>>> _______________________________________________ >> >>>>>> xmlpipedb-developer mailing list >> >>>>>> xml...@li... >> >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>>>>> >> >>>>>> <ATT00001..txt><ATT00002..txt> >> >>>>> >> >>>>> >> >>>>> >> ------------------------------------------------------------------------------ >> >>>>> Create and publish websites with WebMatrix >> >>>>> Use the most popular FREE web apps or write code yourself; >> >>>>> WebMatrix provides all the features you need to develop and >> >>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >>>>> _______________________________________________ >> >>>>> xmlpipedb-developer mailing list >> >>>>> xml...@li... >> >>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>>>> >> >>>>> <ATT00001..txt><ATT00002..txt> >> >>>> >> >>>> >> >>>> >> ------------------------------------------------------------------------------ >> >>>> Create and publish websites with WebMatrix >> >>>> Use the most popular FREE web apps or write code yourself; >> >>>> WebMatrix provides all the features you need to develop and >> >>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >>>> _______________________________________________ >> >>>> xmlpipedb-developer mailing list >> >>>> xml...@li... >> >>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>>> >> >>> >> >>>> <ATT00001..txt><ATT00002..txt> >> >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >> >>> Forrester Wave Report - Recovery time is now measured in hours and >> minutes >> >>> not days. Key insights are discussed in the 2010 Forrester Wave Report >> as >> >>> part of an in-depth evaluation of disaster recovery service providers. >> >>> Forrester found the best-in-class provider in terms of services and >> vision. >> >>> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> >>> >> >>> _______________________________________________ >> >>> xmlpipedb-developer mailing list >> >>> xml...@li... >> >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >>> >> >>> >> >> >> >>> <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Forrester Wave Report - Recovery time is now measured in hours and >> minutes >> >> not days. Key insights are discussed in the 2010 Forrester Wave Report >> as >> >> part of an in-depth evaluation of disaster recovery service providers. >> >> Forrester found the best-in-class provider in terms of services and >> vision. >> >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> >> _______________________________________________ >> >> xmlpipedb-developer mailing list >> >> xml...@li... >> >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> >> >> >> >> >> >> <ATT00001..txt><ATT00002..txt> >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Forrester Wave Report - Recovery time is now measured in hours and >> minutes >> > not days. Key insights are discussed in the 2010 Forrester Wave Report >> as >> > part of an in-depth evaluation of disaster recovery service providers. >> > Forrester found the best-in-class provider in terms of services and >> vision. >> > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> > _______________________________________________ >> > xmlpipedb-developer mailing list >> > xml...@li... >> > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > |
From: Richard B. <rbr...@gm...> - 2011-04-15 01:53:21
|
OK, found the method and reviewed it. It makes sense and I believe it should work as is unless I'm reading the code wrong. I don't see how if the taxon id is included in the Mtuberculosis species profile (which it is) why this shouldn't work? Help please, what am i missing? richard On Thu, Apr 14, 2011 at 11:04 AM, Richard Brous <rbr...@gm...> wrote: > Gotcha, will check it out later today as well as post gdb's up to the wiki. > > Rb > > Sent from my iPhone > > On Apr 13, 2011, at 11:32 AM, "John David N. Dionisio" <do...@lm...> > wrote: > > > Greetings, > > > > Sorry for the delay; I ended up digging through the code a bit so I would > be sure of the response. > > > > getSpeciesProfilesFound does indeed feed the combo box that you want to > touch, but it turns out that the array returned by this method is not built > here. > > > > The code that builds the array returned by getSpeciesProfilesFound is > located in UniProtDatabaseProfile; the method is called checkRequirements. > This is the method that performs the query which retrieves the available > taxon IDs from the relational database. > > > > The intent of the method is this: if a custom species profile is found > that matches the taxon ID, then that species profile is added to the list. > If a custom species profile is *not* found, a generic species profile > initialized to the taxon ID is added instead. > > > > That is the method's intent. As you have seen, it may need some cleanup > and/or fixing. But there it is for you: > UniProtDatabaseProfile.checkRequirements. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: > > > >> OK, in ExportPanel1.java i found the following: > >> > >> 1. COMBOBOX DEFINED ON LINE 59 > >> private > >> > >> JComboBox speciesComboBox; > >> 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING > ON LINE 141 > >> > >> // Species | JComboBox | speciesFound | JLabel | Description > >> > >> > >> // | JTextField | customizable name > >> > >> speciesComboBox = new JComboBox(); > >> > >> speciesComboBox.addActionListener(new ActionListener() { > >> > >> public void actionPerformed(ActionEvent arg0) { > >> speciesProfileSelected( > >> > >> speciesComboBox.getSelectedItem()); > >> } > >> > >> }); > >> > >> 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS UNIPROT, > THEN BASED ON DATABASE PROFILE > >> IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 > >> > >> > >> * Adjusts the dynamic content when a database profile is selected. > >> > >> * > >> > >> * > >> > >> @param selectedItem > >> */ > >> > >> > >> protected void databaseProfileSelected(Object selectedItem) { > >> > >> if (selectedItem instanceof DatabaseProfile) { > >> DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; > >> > >> ExportToGenMAPP.setDatabaseProfile(selectedProfile); > >> > >> > >> profileDescriptionTextArea.setText(selectedProfile.getDescription()); > >> > >> modSystemTextField.setText(selectedProfile.getMODSystem()); > >> > >> > >> //This is populating the list of items in the speciesProfile combobox > >> > >> // based on what database was selected. > >> > >> speciesComboBox.removeAllItems(); > >> > >> for (SpeciesProfile speciesProfile : > selectedProfile.getSpeciesProfilesFound()) { > >> > >> speciesComboBox.addItem(speciesProfile); > >> } > >> > >> } > >> > >> } > >> > >> SO I THINK THE METHOD I NEED TO SOURCE IS: > selectedProfile.getSpeciesProfilesFound()) > >> > >> SOUND GOOD SO FAR?? > >> > >> Richard > >> > >> > >> > >> > >> > >> On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> > wrote: > >> > >> OK, I'll look around and attempt to sniff out the code regarding > populating the drop down menu on the first export screen. > >> > >> But that said, I was surprised it didn't work since the functionality > 'seemed' to be in place for the two working species (P_a and S_a). And I > noticed that the working species don't always show in the drop down box, so > figured they likely aren't hard coded in. > >> > >> Richard > >> > >> > >> On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...> > wrote: > >> > >> Greetings, > >> > >> First off, recall that the taxon ID that is given to the species profile > is not involved in building the dropdown menu; it is used to match the > chosen taxon ID from that menu with a species profile to use. That dropdown > menu is built from a database query that retrieves all available taxon IDs > and species names in the PostgreSQL database. > >> > >> With that in mind, I would tackle this as follows: > >> > >> - First, track down the code that builds the data displayed in that > JComboBox. It should be trackable from the wizard panel code. If you're > having trouble finding it, let me know and I can take a stab at following > the breadcrumbs, or you can ask Don. > >> > >> This code should ultimately lead you to the database query that derives > the overall list of available taxon IDs and species names in the PostgreSQL > database. > >> > >> - Now, armed with this database query, you can verify the validity of > this query directly in PostgreSQL. Essentially you need to make sure that > this query does indeed retrieve the list of all taxon IDs and species names > that are present in the PostgreSQL database. > >> > >> If the query is correct, then the issue is in the way the JComboBox is > put together. This may need a little more knowledge of Swing that you have, > in which case send the issue my way and I can take a look. > >> > >> If the query is incorrect, then it should be corrected. If the Swing > code is correct, then things should work. If the Swing code is also > incorrect, then you are at the previous case, and the Swing code now needs > to be addressed (safe in the knowledge that the data part has been fixed). > >> > >> Let me know how that plan sounds to you. > >> > >> John David N. Dionisio, PhD > >> Associate Professor, Computer Science > >> Loyola Marymount University > >> > >> > >> > >> > >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: > >> > >>> Great, glad we are on the same page! > >>> > >>> I went ahead and added the taxon id to the Mtuberculosis species > profile, recompiled and initiated an export but the expected taxon id didn't > show in the species drop down box. > >>> > >>> The coded modified is (as shown above): > >>> > >>> > >>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { > >>> > >>> super("Mycobacterium tuberculosis", 83332, > >>> > >>> "This profile customizes the GenMAPP Builder export for Mycobacterium > Tuberculosis data loaded from a UniProt XML file."); > >>> } > >>> > >>> Attached is a ss of the dialog box. > >>> > >>> I also checked to make sure the species was listed in the > UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species > are present. > >>> > >>> Any idea where i should look next aside from assuring that the change > is actually in my working build? > >>> > >>> Thanks! > >>> > >>> Richard > >>> > >>> > >>> > >>> > >>> On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> > wrote: > >>> > >>> Hi Rich, > >>> > >>> Thanks for the update. I agree that we can move past the merge stage > now. > >>> > >>> Regarding the species constructor, yes, having the required change > consist solely of the addition of the taxon ID really was the goal. > "Separation of concerns" and "don't repeat yourself" and all that :) Note > how, in the end, the designation of the taxon ID is truly the only piece of > additional information that is required of species profiles in order to get > the work done. So, this ideal is reflected in the code. > >>> > >>> Of course, there is a possibility that certain types of customizations > may require additional work; however that depends on the type of > customization involved and the way the species profile implements it. We > can approach those on a per-species-profile basis. > >>> > >>> John David N. Dionisio, PhD > >>> Associate Professor, Computer Science > >>> Loyola Marymount University > >>> > >>> > >>> > >>> > >>> On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > >>> > >>>> Hi all, > >>>> > >>>> I recreated a multispecies postgres db for P_aeruginosa and S_aureus > and reimported the species xml files: > >>>> P_aeruginosa UniProtXML > >>>> P_aeruginosa goa > >>>> > >>>> S_aureus UniProtXML > >>>> S_aureus goa > >>>> > >>>> GO xml > >>>> processed go data > >>>> > >>>> I then exported P_aeruginosa .gdb using both Don's name2taxon code > and the new trunk (b64): both gdb's original row counts are identical > >>>> Also exported S_aureus using both Don's name2taxon code and the new > trunk (b64) : both gdb's original row counts are identical > >>>> > >>>> I think we can safely say that Don's name2taxon changes are working at > the point where he left off and the successful merge into the trunk is now > verfied. > >>>> > >>>> > ============================================================================= > >>>> > >>>> Now to move to species I am familiar with and ensure they still match > the base line gdb's generated from b63. > >>>> > >>>> The first species I will work on is Mtuberculosis. From the readme > file of the gdb previously posted, the taxon id is 83332. > >>>> > >>>> I will go ahead and make the change to the Mtuberculosis species > profile which is to add the taxon id in the form: > >>>> > >>>> > >>>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { > >>>> > >>>> super("Mycobacterium tuberculosis", 83332, > >>>> > >>>> "This profile customizes the GenMAPP Builder export for Mycobacterium > Tuberculosis data loaded from a UniProt XML file."); > >>>> } > >>>> > >>>> When comparing to S_aereus species profile, it was the only change to > make in the Mtuberculosis species profile. > >>>> > >>>> I rechecked my notes from this morning and don't see any other changes > needed to enable our newer species to work with the post merge constructor. > >>>> > >>>> I'll attempt an export tomorrow and see what happens. > >>>> > >>>> Richard > >>>> > >>>> On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio < > do...@lm...> wrote: > >>>> Follow the way the name2taxon “branch” was done. Put a gmbuilder/ > directory under tags/ if it is not already there, and make sure that the > copied/tagged/branched subdirectory under that corresponds to the top-level > directory of a gmbuilder project (i.e., it contains the build.xml, other > top-level directories, etc.). > >>>> > >>>> Subversion copies are “cheap:” it is OK to copy deep trees of files. > You only start using additional storage space if the files themselves get > modified. Otherwise, they are just references to their original versions. > >>>> > >>>> John David N. Dionisio, PhD > >>>> Associate Professor, Computer Science > >>>> Loyola Marymount University > >>>> > >>>> > >>>> > >>>> On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > >>>> > >>>>> ok, so should I start at the gmbuilder directory Or the src > directory? > >>>>> > >>>>> On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio < > do...@lm...> wrote: > >>>>> Yes, in Subversion what they did is collapse both activities into a > single operation called "Copy." Whether you use the copy as a branch for > modifications, or use it as a tag for posterity, is left to the developer > and not the system. > >>>>> > >>>>> This functional change is the subject of some debate in the > community. Some folks still feel that "enforced" tags have their benefits. > But in the end, this is how Subversion conducts things, so we'll just have > to go with it. > >>>>> > >>>>> John David N. Dionisio, PhD > >>>>> Associate Professor, Computer Science > >>>>> Loyola Marymount University > >>>>> > >>>>> > >>>>> On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > >>>>> > >>>>>> ok, makes sense because when I went through the process (without > clicking finish) there was really no difference between the two... not even > a specification to say this this is a "tag" vs "branch" unless I can only do > that in the comments. > >>>>>> > >>>>>> On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio < > do...@lm...> wrote: > >>>>>> Yes, tags and branches are structurally identical in Subversion. > The only difference between a “tag” and a “branch” is that the developers > have agreed to *not* touch a tag after it has been copied out. > >>>>>> > >>>>>> In other words, “tags” and “branches” are only different in > Subversion by consensus. The distinction is not system-enforced. > >>>>>> > >>>>>> John David N. Dionisio, PhD > >>>>>> Associate Professor, Computer Science > >>>>>> Loyola Marymount University > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > >>>>>> > >>>>>>> tagging is really creating a new branch for posterity? > >>>>>>> > >>>>>>> On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < > do...@lm...> wrote: > >>>>>>> You'll want to tag from the repository, since your local copy has > been modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > >>>>>>> > >>>>>>> If you want to play it really safe, you can even do the tagging > from a completely separate Eclipse workspace that does not have your local > copies loaded up. > >>>>>>> > >>>>>>> John David N. Dionisio, PhD > >>>>>>> Associate Professor, Computer Science > >>>>>>> Loyola Marymount University > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > >>>>>>> > >>>>>>>> Am I tagging in my local project or in the repository? > >>>>>>>> > >>>>>>>> On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < > do...@lm...> wrote: > >>>>>>>> Hi Rich, > >>>>>>>> > >>>>>>>> I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > >>>>>>>> > >>>>>>>> Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > >>>>>>>> > >>>>>>>> Happy digital forensics... > >>>>>>>> > >>>>>>>> John David N. Dionisio, PhD > >>>>>>>> Associate Professor, Computer Science > >>>>>>>> Loyola Marymount University > >>>>>>>> > >>>>>>>> > >>>>>>>> On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > >>>>>>>> > >>>>>>>>> Hi all, > >>>>>>>>> > >>>>>>>>> Started a new thread since this is Pfalciparum specific. > >>>>>>>>> > >>>>>>>>> I have double checked my manual merge to confirm that in fact my > edits were correctly included for Mtuberculosis and Pfalciparum. > >>>>>>>>> > >>>>>>>>> So when running gdb exports for each I determined that in fact > something broke in the merge. > >>>>>>>>> > >>>>>>>>> Before I start digging into this further I want to ask a couple > questions: > >>>>>>>>> > >>>>>>>>> 1. Should I commit the changes up to Sourceforge yet or leave > them locally on my laptop while troubleshooting? I know we can revert to > earlier versions if needed but wanted to be sure we were all on same page. > >>>>>>>>> > >>>>>>>>> 2. I have before and after exports of Mtuberculosis and > Pfalciparum on my laptop. Would you like me to post them for review or will > you be running your own anyway? > >>>>>>>>> > >>>>>>>>> Richard > >>>>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>>>> > >>>>>>>> > >>>>>>>> > ------------------------------------------------------------------------------ > >>>>>>>> Create and publish websites with WebMatrix > >>>>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>>>> WebMatrix provides all the features you need to develop and > >>>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>>>> _______________________________________________ > >>>>>>>> xmlpipedb-developer mailing list > >>>>>>>> xml...@li... > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>>>> > >>>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>>> > >>>>>>> > >>>>>>> > ------------------------------------------------------------------------------ > >>>>>>> Create and publish websites with WebMatrix > >>>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>>> WebMatrix provides all the features you need to develop and > >>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>>> _______________________________________________ > >>>>>>> xmlpipedb-developer mailing list > >>>>>>> xml...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>>> > >>>>>>> <ATT00001..txt><ATT00002..txt> > >>>>>> > >>>>>> > >>>>>> > ------------------------------------------------------------------------------ > >>>>>> Create and publish websites with WebMatrix > >>>>>> Use the most popular FREE web apps or write code yourself; > >>>>>> WebMatrix provides all the features you need to develop and > >>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>>> _______________________________________________ > >>>>>> xmlpipedb-developer mailing list > >>>>>> xml...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>>> > >>>>>> <ATT00001..txt><ATT00002..txt> > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>> Create and publish websites with WebMatrix > >>>>> Use the most popular FREE web apps or write code yourself; > >>>>> WebMatrix provides all the features you need to develop and > >>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>>> _______________________________________________ > >>>>> xmlpipedb-developer mailing list > >>>>> xml...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>>> > >>>>> <ATT00001..txt><ATT00002..txt> > >>>> > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> Create and publish websites with WebMatrix > >>>> Use the most popular FREE web apps or write code yourself; > >>>> WebMatrix provides all the features you need to develop and > >>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > >>>> _______________________________________________ > >>>> xmlpipedb-developer mailing list > >>>> xml...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>>> > >>> > >>>> <ATT00001..txt><ATT00002..txt> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Forrester Wave Report - Recovery time is now measured in hours and > minutes > >>> not days. Key insights are discussed in the 2010 Forrester Wave Report > as > >>> part of an in-depth evaluation of disaster recovery service providers. > >>> Forrester found the best-in-class provider in terms of services and > vision. > >>> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > >>> > >>> _______________________________________________ > >>> xmlpipedb-developer mailing list > >>> xml...@li... > >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >>> > >>> > >> > >>> <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Forrester Wave Report - Recovery time is now measured in hours and > minutes > >> not days. Key insights are discussed in the 2010 Forrester Wave Report > as > >> part of an in-depth evaluation of disaster recovery service providers. > >> Forrester found the best-in-class provider in terms of services and > vision. > >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > >> _______________________________________________ > >> xmlpipedb-developer mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > >> > >> > >> > >> <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and > minutes > > not days. Key insights are discussed in the 2010 Forrester Wave Report as > > part of an in-depth evaluation of disaster recovery service providers. > > Forrester found the best-in-class provider in terms of services and > vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: Richard B. <rbr...@gm...> - 2011-04-14 18:05:34
|
Gotcha, will check it out later today as well as post gdb's up to the wiki. Rb Sent from my iPhone On Apr 13, 2011, at 11:32 AM, "John David N. Dionisio" <do...@lm...> wrote: > Greetings, > > Sorry for the delay; I ended up digging through the code a bit so I would be sure of the response. > > getSpeciesProfilesFound does indeed feed the combo box that you want to touch, but it turns out that the array returned by this method is not built here. > > The code that builds the array returned by getSpeciesProfilesFound is located in UniProtDatabaseProfile; the method is called checkRequirements. This is the method that performs the query which retrieves the available taxon IDs from the relational database. > > The intent of the method is this: if a custom species profile is found that matches the taxon ID, then that species profile is added to the list. If a custom species profile is *not* found, a generic species profile initialized to the taxon ID is added instead. > > That is the method's intent. As you have seen, it may need some cleanup and/or fixing. But there it is for you: UniProtDatabaseProfile.checkRequirements. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: > >> OK, in ExportPanel1.java i found the following: >> >> 1. COMBOBOX DEFINED ON LINE 59 >> private >> >> JComboBox speciesComboBox; >> 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING ON LINE 141 >> >> // Species | JComboBox | speciesFound | JLabel | Description >> >> >> // | JTextField | customizable name >> >> speciesComboBox = new JComboBox(); >> >> speciesComboBox.addActionListener(new ActionListener() { >> >> public void actionPerformed(ActionEvent arg0) { >> speciesProfileSelected( >> >> speciesComboBox.getSelectedItem()); >> } >> >> }); >> >> 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS UNIPROT, THEN BASED ON DATABASE PROFILE >> IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 >> >> >> * Adjusts the dynamic content when a database profile is selected. >> >> * >> >> * >> >> @param selectedItem >> */ >> >> >> protected void databaseProfileSelected(Object selectedItem) { >> >> if (selectedItem instanceof DatabaseProfile) { >> DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; >> >> ExportToGenMAPP.setDatabaseProfile(selectedProfile); >> >> >> profileDescriptionTextArea.setText(selectedProfile.getDescription()); >> >> modSystemTextField.setText(selectedProfile.getMODSystem()); >> >> >> //This is populating the list of items in the speciesProfile combobox >> >> // based on what database was selected. >> >> speciesComboBox.removeAllItems(); >> >> for (SpeciesProfile speciesProfile : selectedProfile.getSpeciesProfilesFound()) { >> >> speciesComboBox.addItem(speciesProfile); >> } >> >> } >> >> } >> >> SO I THINK THE METHOD I NEED TO SOURCE IS: selectedProfile.getSpeciesProfilesFound()) >> >> SOUND GOOD SO FAR?? >> >> Richard >> >> >> >> >> >> On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> wrote: >> >> OK, I'll look around and attempt to sniff out the code regarding populating the drop down menu on the first export screen. >> >> But that said, I was surprised it didn't work since the functionality 'seemed' to be in place for the two working species (P_a and S_a). And I noticed that the working species don't always show in the drop down box, so figured they likely aren't hard coded in. >> >> Richard >> >> >> On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...> wrote: >> >> Greetings, >> >> First off, recall that the taxon ID that is given to the species profile is not involved in building the dropdown menu; it is used to match the chosen taxon ID from that menu with a species profile to use. That dropdown menu is built from a database query that retrieves all available taxon IDs and species names in the PostgreSQL database. >> >> With that in mind, I would tackle this as follows: >> >> - First, track down the code that builds the data displayed in that JComboBox. It should be trackable from the wizard panel code. If you're having trouble finding it, let me know and I can take a stab at following the breadcrumbs, or you can ask Don. >> >> This code should ultimately lead you to the database query that derives the overall list of available taxon IDs and species names in the PostgreSQL database. >> >> - Now, armed with this database query, you can verify the validity of this query directly in PostgreSQL. Essentially you need to make sure that this query does indeed retrieve the list of all taxon IDs and species names that are present in the PostgreSQL database. >> >> If the query is correct, then the issue is in the way the JComboBox is put together. This may need a little more knowledge of Swing that you have, in which case send the issue my way and I can take a look. >> >> If the query is incorrect, then it should be corrected. If the Swing code is correct, then things should work. If the Swing code is also incorrect, then you are at the previous case, and the Swing code now needs to be addressed (safe in the knowledge that the data part has been fixed). >> >> Let me know how that plan sounds to you. >> >> John David N. Dionisio, PhD >> Associate Professor, Computer Science >> Loyola Marymount University >> >> >> >> >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: >> >>> Great, glad we are on the same page! >>> >>> I went ahead and added the taxon id to the Mtuberculosis species profile, recompiled and initiated an export but the expected taxon id didn't show in the species drop down box. >>> >>> The coded modified is (as shown above): >>> >>> >>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >>> >>> super("Mycobacterium tuberculosis", 83332, >>> >>> "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); >>> } >>> >>> Attached is a ss of the dialog box. >>> >>> I also checked to make sure the species was listed in the UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species are present. >>> >>> Any idea where i should look next aside from assuring that the change is actually in my working build? >>> >>> Thanks! >>> >>> Richard >>> >>> >>> >>> >>> On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> wrote: >>> >>> Hi Rich, >>> >>> Thanks for the update. I agree that we can move past the merge stage now. >>> >>> Regarding the species constructor, yes, having the required change consist solely of the addition of the taxon ID really was the goal. "Separation of concerns" and "don't repeat yourself" and all that :) Note how, in the end, the designation of the taxon ID is truly the only piece of additional information that is required of species profiles in order to get the work done. So, this ideal is reflected in the code. >>> >>> Of course, there is a possibility that certain types of customizations may require additional work; however that depends on the type of customization involved and the way the species profile implements it. We can approach those on a per-species-profile basis. >>> >>> John David N. Dionisio, PhD >>> Associate Professor, Computer Science >>> Loyola Marymount University >>> >>> >>> >>> >>> On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: >>> >>>> Hi all, >>>> >>>> I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: >>>> P_aeruginosa UniProtXML >>>> P_aeruginosa goa >>>> >>>> S_aureus UniProtXML >>>> S_aureus goa >>>> >>>> GO xml >>>> processed go data >>>> >>>> I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical >>>> Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical >>>> >>>> I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. >>>> >>>> ============================================================================= >>>> >>>> Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. >>>> >>>> The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. >>>> >>>> I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: >>>> >>>> >>>> public MycobacteriumTuberculosisUniProtSpeciesProfile() { >>>> >>>> super("Mycobacterium tuberculosis", 83332, >>>> >>>> "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); >>>> } >>>> >>>> When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. >>>> >>>> I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. >>>> >>>> I'll attempt an export tomorrow and see what happens. >>>> >>>> Richard >>>> >>>> On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> wrote: >>>> Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). >>>> >>>> Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. >>>> >>>> John David N. Dionisio, PhD >>>> Associate Professor, Computer Science >>>> Loyola Marymount University >>>> >>>> >>>> >>>> On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: >>>> >>>>> ok, so should I start at the gmbuilder directory Or the src directory? >>>>> >>>>> On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: >>>>> Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. >>>>> >>>>> This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. >>>>> >>>>> John David N. Dionisio, PhD >>>>> Associate Professor, Computer Science >>>>> Loyola Marymount University >>>>> >>>>> >>>>> On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: >>>>> >>>>>> ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. >>>>>> >>>>>> On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: >>>>>> Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. >>>>>> >>>>>> In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. >>>>>> >>>>>> John David N. Dionisio, PhD >>>>>> Associate Professor, Computer Science >>>>>> Loyola Marymount University >>>>>> >>>>>> >>>>>> >>>>>> On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: >>>>>> >>>>>>> tagging is really creating a new branch for posterity? >>>>>>> >>>>>>> On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: >>>>>>> You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. >>>>>>> >>>>>>> If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. >>>>>>> >>>>>>> John David N. Dionisio, PhD >>>>>>> Associate Professor, Computer Science >>>>>>> Loyola Marymount University >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: >>>>>>> >>>>>>>> Am I tagging in my local project or in the repository? >>>>>>>> >>>>>>>> On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: >>>>>>>> Hi Rich, >>>>>>>> >>>>>>>> I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. >>>>>>>> >>>>>>>> Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. >>>>>>>> >>>>>>>> Happy digital forensics... >>>>>>>> >>>>>>>> John David N. Dionisio, PhD >>>>>>>> Associate Professor, Computer Science >>>>>>>> Loyola Marymount University >>>>>>>> >>>>>>>> >>>>>>>> On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: >>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> >>>>>>>>> Started a new thread since this is Pfalciparum specific. >>>>>>>>> >>>>>>>>> I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. >>>>>>>>> >>>>>>>>> So when running gdb exports for each I determined that in fact something broke in the merge. >>>>>>>>> >>>>>>>>> Before I start digging into this further I want to ask a couple questions: >>>>>>>>> >>>>>>>>> 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. >>>>>>>>> >>>>>>>>> 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? >>>>>>>>> >>>>>>>>> Richard >>>>>>>>> <ATT00001..txt><ATT00002..txt> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Create and publish websites with WebMatrix >>>>>>>> Use the most popular FREE web apps or write code yourself; >>>>>>>> WebMatrix provides all the features you need to develop and >>>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>>>>>>> _______________________________________________ >>>>>>>> xmlpipedb-developer mailing list >>>>>>>> xml...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>>>>>>> >>>>>>>> <ATT00001..txt><ATT00002..txt> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Create and publish websites with WebMatrix >>>>>>> Use the most popular FREE web apps or write code yourself; >>>>>>> WebMatrix provides all the features you need to develop and >>>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>>>>>> _______________________________________________ >>>>>>> xmlpipedb-developer mailing list >>>>>>> xml...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>>>>>> >>>>>>> <ATT00001..txt><ATT00002..txt> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Create and publish websites with WebMatrix >>>>>> Use the most popular FREE web apps or write code yourself; >>>>>> WebMatrix provides all the features you need to develop and >>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>>>>> _______________________________________________ >>>>>> xmlpipedb-developer mailing list >>>>>> xml...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>>>>> >>>>>> <ATT00001..txt><ATT00002..txt> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Create and publish websites with WebMatrix >>>>> Use the most popular FREE web apps or write code yourself; >>>>> WebMatrix provides all the features you need to develop and >>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>>>> _______________________________________________ >>>>> xmlpipedb-developer mailing list >>>>> xml...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>>>> >>>>> <ATT00001..txt><ATT00002..txt> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Create and publish websites with WebMatrix >>>> Use the most popular FREE web apps or write code yourself; >>>> WebMatrix provides all the features you need to develop and >>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>>> _______________________________________________ >>>> xmlpipedb-developer mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>>> >>> >>>> <ATT00001..txt><ATT00002..txt> >>> >>> >>> ------------------------------------------------------------------------------ >>> Forrester Wave Report - Recovery time is now measured in hours and minutes >>> not days. Key insights are discussed in the 2010 Forrester Wave Report as >>> part of an in-depth evaluation of disaster recovery service providers. >>> Forrester found the best-in-class provider in terms of services and vision. >>> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >>> >>> _______________________________________________ >>> xmlpipedb-developer mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >>> >> >>> <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> >> >> >> ------------------------------------------------------------------------------ >> Forrester Wave Report - Recovery time is now measured in hours and minutes >> not days. Key insights are discussed in the 2010 Forrester Wave Report as >> part of an in-depth evaluation of disaster recovery service providers. >> Forrester found the best-in-class provider in terms of services and vision. >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> >> >> <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer |
From: John D. N. D. <do...@lm...> - 2011-04-13 18:32:50
|
Greetings, Sorry for the delay; I ended up digging through the code a bit so I would be sure of the response. getSpeciesProfilesFound does indeed feed the combo box that you want to touch, but it turns out that the array returned by this method is not built here. The code that builds the array returned by getSpeciesProfilesFound is located in UniProtDatabaseProfile; the method is called checkRequirements. This is the method that performs the query which retrieves the available taxon IDs from the relational database. The intent of the method is this: if a custom species profile is found that matches the taxon ID, then that species profile is added to the list. If a custom species profile is *not* found, a generic species profile initialized to the taxon ID is added instead. That is the method's intent. As you have seen, it may need some cleanup and/or fixing. But there it is for you: UniProtDatabaseProfile.checkRequirements. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 12, 2011, at 7:03 PM, Richard Brous wrote: > OK, in ExportPanel1.java i found the following: > > 1. COMBOBOX DEFINED ON LINE 59 > private > > JComboBox speciesComboBox; > 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING ON LINE 141 > > // Species | JComboBox | speciesFound | JLabel | Description > > > // | JTextField | customizable name > > speciesComboBox = new JComboBox(); > > speciesComboBox.addActionListener(new ActionListener() { > > public void actionPerformed(ActionEvent arg0) { > speciesProfileSelected( > > speciesComboBox.getSelectedItem()); > } > > }); > > 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS UNIPROT, THEN BASED ON DATABASE PROFILE > IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 > > > * Adjusts the dynamic content when a database profile is selected. > > * > > * > > @param selectedItem > */ > > > protected void databaseProfileSelected(Object selectedItem) { > > if (selectedItem instanceof DatabaseProfile) { > DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; > > ExportToGenMAPP.setDatabaseProfile(selectedProfile); > > > profileDescriptionTextArea.setText(selectedProfile.getDescription()); > > modSystemTextField.setText(selectedProfile.getMODSystem()); > > > //This is populating the list of items in the speciesProfile combobox > > // based on what database was selected. > > speciesComboBox.removeAllItems(); > > for (SpeciesProfile speciesProfile : selectedProfile.getSpeciesProfilesFound()) { > > speciesComboBox.addItem(speciesProfile); > } > > } > > } > > SO I THINK THE METHOD I NEED TO SOURCE IS: selectedProfile.getSpeciesProfilesFound()) > > SOUND GOOD SO FAR?? > > Richard > > > > > > On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> wrote: > > OK, I'll look around and attempt to sniff out the code regarding populating the drop down menu on the first export screen. > > But that said, I was surprised it didn't work since the functionality 'seemed' to be in place for the two working species (P_a and S_a). And I noticed that the working species don't always show in the drop down box, so figured they likely aren't hard coded in. > > Richard > > > On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...> wrote: > > Greetings, > > First off, recall that the taxon ID that is given to the species profile is not involved in building the dropdown menu; it is used to match the chosen taxon ID from that menu with a species profile to use. That dropdown menu is built from a database query that retrieves all available taxon IDs and species names in the PostgreSQL database. > > With that in mind, I would tackle this as follows: > > - First, track down the code that builds the data displayed in that JComboBox. It should be trackable from the wizard panel code. If you're having trouble finding it, let me know and I can take a stab at following the breadcrumbs, or you can ask Don. > > This code should ultimately lead you to the database query that derives the overall list of available taxon IDs and species names in the PostgreSQL database. > > - Now, armed with this database query, you can verify the validity of this query directly in PostgreSQL. Essentially you need to make sure that this query does indeed retrieve the list of all taxon IDs and species names that are present in the PostgreSQL database. > > If the query is correct, then the issue is in the way the JComboBox is put together. This may need a little more knowledge of Swing that you have, in which case send the issue my way and I can take a look. > > If the query is incorrect, then it should be corrected. If the Swing code is correct, then things should work. If the Swing code is also incorrect, then you are at the previous case, and the Swing code now needs to be addressed (safe in the knowledge that the data part has been fixed). > > Let me know how that plan sounds to you. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > > On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: > > > Great, glad we are on the same page! > > > > I went ahead and added the taxon id to the Mtuberculosis species profile, recompiled and initiated an export but the expected taxon id didn't show in the species drop down box. > > > > The coded modified is (as shown above): > > > > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > > > super("Mycobacterium tuberculosis", 83332, > > > > "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > > } > > > > Attached is a ss of the dialog box. > > > > I also checked to make sure the species was listed in the UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species are present. > > > > Any idea where i should look next aside from assuring that the change is actually in my working build? > > > > Thanks! > > > > Richard > > > > > > > > > > On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> wrote: > > > > Hi Rich, > > > > Thanks for the update. I agree that we can move past the merge stage now. > > > > Regarding the species constructor, yes, having the required change consist solely of the addition of the taxon ID really was the goal. "Separation of concerns" and "don't repeat yourself" and all that :) Note how, in the end, the designation of the taxon ID is truly the only piece of additional information that is required of species profiles in order to get the work done. So, this ideal is reflected in the code. > > > > Of course, there is a possibility that certain types of customizations may require additional work; however that depends on the type of customization involved and the way the species profile implements it. We can approach those on a per-species-profile basis. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > > > On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > > > > > Hi all, > > > > > > I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: > > > P_aeruginosa UniProtXML > > > P_aeruginosa goa > > > > > > S_aureus UniProtXML > > > S_aureus goa > > > > > > GO xml > > > processed go data > > > > > > I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical > > > Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical > > > > > > I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. > > > > > > ============================================================================= > > > > > > Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. > > > > > > The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. > > > > > > I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: > > > > > > > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > > > > > super("Mycobacterium tuberculosis", 83332, > > > > > > "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > > > } > > > > > > When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. > > > > > > I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. > > > > > > I'll attempt an export tomorrow and see what happens. > > > > > > Richard > > > > > > On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> wrote: > > > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). > > > > > > Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > > > > > > > ok, so should I start at the gmbuilder directory Or the src directory? > > > > > > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: > > > > Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. > > > > > > > > This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > > > > > > > ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > > > > > > > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > > > > > > > > > > In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > > > > > > > > > > John David N. Dionisio, PhD > > > > > Associate Professor, Computer Science > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > > > > > > > tagging is really creating a new branch for posterity? > > > > > > > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > > > > > > > > > > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > > > > > > > > > > > John David N. Dionisio, PhD > > > > > > Associate Professor, Computer Science > > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > > > Hi Rich, > > > > > > > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > > > > > > > > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > > > > > > > > > > > Happy digital forensics... > > > > > > > > > > > > > > John David N. Dionisio, PhD > > > > > > > Associate Professor, Computer Science > > > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > > > > > > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > > > > > > > > > > > Richard > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Create and publish websites with WebMatrix > > > > > > > Use the most popular FREE web apps or write code yourself; > > > > > > > WebMatrix provides all the features you need to develop and > > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > > _______________________________________________ > > > > > > > xmlpipedb-developer mailing list > > > > > > > xml...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Create and publish websites with WebMatrix > > > > > > Use the most popular FREE web apps or write code yourself; > > > > > > WebMatrix provides all the features you need to develop and > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > _______________________________________________ > > > > > > xmlpipedb-developer mailing list > > > > > > xml...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Create and publish websites with WebMatrix > > > > > Use the most popular FREE web apps or write code yourself; > > > > > WebMatrix provides all the features you need to develop and > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > _______________________________________________ > > > > > xmlpipedb-developer mailing list > > > > > xml...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and minutes > > not days. Key insights are discussed in the 2010 Forrester Wave Report as > > part of an in-depth evaluation of disaster recovery service providers. > > Forrester found the best-in-class provider in terms of services and vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-13 02:03:28
|
OK, in ExportPanel1.java i found the following: 1. COMBOBOX DEFINED ON LINE 59 * private* JComboBox speciesComboBox; 2. THEN COMBOBOX IS INSTANTIATED AND ACTION LISTENER ASSIGNED STARTING ON LINE 141 // Species | JComboBox | speciesFound | JLabel | Description // | JTextField | customizable name speciesComboBox = *new* JComboBox(); speciesComboBox.addActionListener(*new* ActionListener() { *public* *void* actionPerformed(ActionEvent arg0) { speciesProfileSelected(speciesComboBox.getSelectedItem()); } }); 3. NEXT CODE BLOCK ADJUSTS THE DATABASE PROFILE WHICH IS ALWAYS UNIPROT, THEN BASED ON DATABASE PROFILE IT POPULATES THE SPECIES COMBOBOX STARTING LINE 210 * Adjusts the dynamic content when a database profile is selected. * * *@param* selectedItem */ *protected* *void* databaseProfileSelected(Object selectedItem) { *if* (selectedItem *instanceof* DatabaseProfile) { DatabaseProfile selectedProfile = (DatabaseProfile)selectedItem; ExportToGenMAPP.*setDatabaseProfile*(selectedProfile); profileDescriptionTextArea.setText(selectedProfile.getDescription()); modSystemTextField.setText(selectedProfile.getMODSystem()); //This is populating the list of items in the speciesProfile *combobox * // based on what database was selected. speciesComboBox.removeAllItems(); *for* (SpeciesProfile speciesProfile : selectedProfile.getSpeciesProfilesFound()) { speciesComboBox.addItem(speciesProfile); } } } SO I THINK THE METHOD I NEED TO SOURCE IS: selectedProfile.getSpeciesProfilesFound()) SOUND GOOD SO FAR?? Richard On Tue, Apr 12, 2011 at 6:18 PM, Richard Brous <rbr...@gm...> wrote: > OK, I'll look around and attempt to sniff out the code regarding populating > the drop down menu on the first export screen. > > But that said, I was surprised it didn't work since the functionality > 'seemed' to be in place for the two working species (P_a and S_a). And I > noticed that the working species don't always show in the drop down box, so > figured they likely aren't hard coded in. > > Richard > > > On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...>wrote: > > >> Greetings, >> >> First off, recall that the taxon ID that is given to the species profile >> is not involved in building the dropdown menu; it is used to match the >> chosen taxon ID from that menu with a species profile to use. That dropdown >> menu is built from a database query that retrieves all available taxon IDs >> and species names in the PostgreSQL database. >> >> With that in mind, I would tackle this as follows: >> >> - First, track down the code that builds the data displayed in that >> JComboBox. It should be trackable from the wizard panel code. If you're >> having trouble finding it, let me know and I can take a stab at following >> the breadcrumbs, or you can ask Don. >> >> This code should ultimately lead you to the database query that derives >> the overall list of available taxon IDs and species names in the PostgreSQL >> database. >> >> - Now, armed with this database query, you can verify the validity of this >> query directly in PostgreSQL. Essentially you need to make sure that this >> query does indeed retrieve the list of all taxon IDs and species names that >> are present in the PostgreSQL database. >> >> If the query is correct, then the issue is in the way the JComboBox is put >> together. This may need a little more knowledge of Swing that you have, in >> which case send the issue my way and I can take a look. >> >> If the query is incorrect, then it should be corrected. If the Swing code >> is correct, then things should work. If the Swing code is also incorrect, >> then you are at the previous case, and the Swing code now needs to be >> addressed (safe in the knowledge that the data part has been fixed). >> >> Let me know how that plan sounds to you. >> >> John David N. Dionisio, PhD >> Associate Professor, Computer Science >> Loyola Marymount University >> >> >> >> >> On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: >> >> > Great, glad we are on the same page! >> > >> > I went ahead and added the taxon id to the Mtuberculosis species >> profile, recompiled and initiated an export but the expected taxon id didn't >> show in the species drop down box. >> > >> > The coded modified is (as shown above): >> > >> > >> > public MycobacteriumTuberculosisUniProtSpeciesProfile() { >> > >> > super("Mycobacterium tuberculosis", 83332, >> > >> > "This profile customizes the GenMAPP Builder export for Mycobacterium >> Tuberculosis data loaded from a UniProt XML file."); >> > } >> > >> > Attached is a ss of the dialog box. >> > >> > I also checked to make sure the species was listed in the >> UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species >> are present. >> > >> > Any idea where i should look next aside from assuring that the change is >> actually in my working build? >> > >> > Thanks! >> > >> > Richard >> > >> > >> > >> > >> > On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> >> wrote: >> > >> > Hi Rich, >> > >> > Thanks for the update. I agree that we can move past the merge stage >> now. >> > >> > Regarding the species constructor, yes, having the required change >> consist solely of the addition of the taxon ID really was the goal. >> "Separation of concerns" and "don't repeat yourself" and all that :) Note >> how, in the end, the designation of the taxon ID is truly the only piece of >> additional information that is required of species profiles in order to get >> the work done. So, this ideal is reflected in the code. >> > >> > Of course, there is a possibility that certain types of customizations >> may require additional work; however that depends on the type of >> customization involved and the way the species profile implements it. We >> can approach those on a per-species-profile basis. >> > >> > John David N. Dionisio, PhD >> > Associate Professor, Computer Science >> > Loyola Marymount University >> > >> > >> > >> > >> > On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: >> > >> > > Hi all, >> > > >> > > I recreated a multispecies postgres db for P_aeruginosa and S_aureus >> and reimported the species xml files: >> > > P_aeruginosa UniProtXML >> > > P_aeruginosa goa >> > > >> > > S_aureus UniProtXML >> > > S_aureus goa >> > > >> > > GO xml >> > > processed go data >> > > >> > > I then exported P_aeruginosa .gdb using both Don's name2taxon code >> and the new trunk (b64): both gdb's original row counts are identical >> > > Also exported S_aureus using both Don's name2taxon code and the new >> trunk (b64) : both gdb's original row counts are identical >> > > >> > > I think we can safely say that Don's name2taxon changes are working at >> the point where he left off and the successful merge into the trunk is now >> verfied. >> > > >> > > >> ============================================================================= >> > > >> > > Now to move to species I am familiar with and ensure they still match >> the base line gdb's generated from b63. >> > > >> > > The first species I will work on is Mtuberculosis. From the readme >> file of the gdb previously posted, the taxon id is 83332. >> > > >> > > I will go ahead and make the change to the Mtuberculosis species >> profile which is to add the taxon id in the form: >> > > >> > > >> > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { >> > > >> > > super("Mycobacterium tuberculosis", 83332, >> > > >> > > "This profile customizes the GenMAPP Builder export for Mycobacterium >> Tuberculosis data loaded from a UniProt XML file."); >> > > } >> > > >> > > When comparing to S_aereus species profile, it was the only change to >> make in the Mtuberculosis species profile. >> > > >> > > I rechecked my notes from this morning and don't see any other changes >> needed to enable our newer species to work with the post merge constructor. >> > > >> > > I'll attempt an export tomorrow and see what happens. >> > > >> > > Richard >> > > >> > > On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio < >> do...@lm...> wrote: >> > > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ >> directory under tags/ if it is not already there, and make sure that the >> copied/tagged/branched subdirectory under that corresponds to the top-level >> directory of a gmbuilder project (i.e., it contains the build.xml, other >> top-level directories, etc.). >> > > >> > > Subversion copies are “cheap:” it is OK to copy deep trees of files. >> You only start using additional storage space if the files themselves get >> modified. Otherwise, they are just references to their original versions. >> > > >> > > John David N. Dionisio, PhD >> > > Associate Professor, Computer Science >> > > Loyola Marymount University >> > > >> > > >> > > >> > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: >> > > >> > > > ok, so should I start at the gmbuilder directory Or the src >> directory? >> > > > >> > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio < >> do...@lm...> wrote: >> > > > Yes, in Subversion what they did is collapse both activities into a >> single operation called "Copy." Whether you use the copy as a branch for >> modifications, or use it as a tag for posterity, is left to the developer >> and not the system. >> > > > >> > > > This functional change is the subject of some debate in the >> community. Some folks still feel that "enforced" tags have their benefits. >> But in the end, this is how Subversion conducts things, so we'll just have >> to go with it. >> > > > >> > > > John David N. Dionisio, PhD >> > > > Associate Professor, Computer Science >> > > > Loyola Marymount University >> > > > >> > > > >> > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: >> > > > >> > > > > ok, makes sense because when I went through the process (without >> clicking finish) there was really no difference between the two... not even >> a specification to say this this is a "tag" vs "branch" unless I can only do >> that in the comments. >> > > > > >> > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio < >> do...@lm...> wrote: >> > > > > Yes, tags and branches are structurally identical in Subversion. >> The only difference between a “tag” and a “branch” is that the developers >> have agreed to *not* touch a tag after it has been copied out. >> > > > > >> > > > > In other words, “tags” and “branches” are only different in >> Subversion by consensus. The distinction is not system-enforced. >> > > > > >> > > > > John David N. Dionisio, PhD >> > > > > Associate Professor, Computer Science >> > > > > Loyola Marymount University >> > > > > >> > > > > >> > > > > >> > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: >> > > > > >> > > > > > tagging is really creating a new branch for posterity? >> > > > > > >> > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < >> do...@lm...> wrote: >> > > > > > You'll want to tag from the repository, since your local copy >> has been modified. If you issue the tag command from the SVN Repository >> Viewing perspective, that should happen server-side. >> > > > > > >> > > > > > If you want to play it really safe, you can even do the tagging >> from a completely separate Eclipse workspace that does not have your local >> copies loaded up. >> > > > > > >> > > > > > John David N. Dionisio, PhD >> > > > > > Associate Professor, Computer Science >> > > > > > Loyola Marymount University >> > > > > > >> > > > > > >> > > > > > >> > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: >> > > > > > >> > > > > > > Am I tagging in my local project or in the repository? >> > > > > > > >> > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < >> do...@lm...> wrote: >> > > > > > > Hi Rich, >> > > > > > > >> > > > > > > I think it's OK to commit to the trunk, with one tweak for >> easy management: before committing, copy out ("tag") what is in the trunk >> right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or >> something like that). This way, you have an easy basis for comparison if >> you need to go back to how the trunk was before name2taxon came along. >> > > > > > > >> > > > > > > Also, it will save some time if your before- and after- .gdbs >> are available. Running our own exports, while of course doable as you said, >> would require things like getting old versions, building them, etc. >> > > > > > > >> > > > > > > Happy digital forensics... >> > > > > > > >> > > > > > > John David N. Dionisio, PhD >> > > > > > > Associate Professor, Computer Science >> > > > > > > Loyola Marymount University >> > > > > > > >> > > > > > > >> > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: >> > > > > > > >> > > > > > > > Hi all, >> > > > > > > > >> > > > > > > > Started a new thread since this is Pfalciparum specific. >> > > > > > > > >> > > > > > > > I have double checked my manual merge to confirm that in >> fact my edits were correctly included for Mtuberculosis and Pfalciparum. >> > > > > > > > >> > > > > > > > So when running gdb exports for each I determined that in >> fact something broke in the merge. >> > > > > > > > >> > > > > > > > Before I start digging into this further I want to ask a >> couple questions: >> > > > > > > > >> > > > > > > > 1. Should I commit the changes up to Sourceforge yet or >> leave them locally on my laptop while troubleshooting? I know we can revert >> to earlier versions if needed but wanted to be sure we were all on same >> page. >> > > > > > > > >> > > > > > > > 2. I have before and after exports of Mtuberculosis and >> Pfalciparum on my laptop. Would you like me to post them for review or will >> you be running your own anyway? >> > > > > > > > >> > > > > > > > Richard >> > > > > > > > <ATT00001..txt><ATT00002..txt> >> > > > > > > >> > > > > > > >> > > > > > > >> ------------------------------------------------------------------------------ >> > > > > > > Create and publish websites with WebMatrix >> > > > > > > Use the most popular FREE web apps or write code yourself; >> > > > > > > WebMatrix provides all the features you need to develop and >> > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> > > > > > > _______________________________________________ >> > > > > > > xmlpipedb-developer mailing list >> > > > > > > xml...@li... >> > > > > > > >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > > > > >> > > > > > > <ATT00001..txt><ATT00002..txt> >> > > > > > >> > > > > > >> > > > > > >> ------------------------------------------------------------------------------ >> > > > > > Create and publish websites with WebMatrix >> > > > > > Use the most popular FREE web apps or write code yourself; >> > > > > > WebMatrix provides all the features you need to develop and >> > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> > > > > > _______________________________________________ >> > > > > > xmlpipedb-developer mailing list >> > > > > > xml...@li... >> > > > > > >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > > > >> > > > > > <ATT00001..txt><ATT00002..txt> >> > > > > >> > > > > >> > > > > >> ------------------------------------------------------------------------------ >> > > > > Create and publish websites with WebMatrix >> > > > > Use the most popular FREE web apps or write code yourself; >> > > > > WebMatrix provides all the features you need to develop and >> > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> > > > > _______________________________________________ >> > > > > xmlpipedb-developer mailing list >> > > > > xml...@li... >> > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > > >> > > > > <ATT00001..txt><ATT00002..txt> >> > > > >> > > > >> > > > >> ------------------------------------------------------------------------------ >> > > > Create and publish websites with WebMatrix >> > > > Use the most popular FREE web apps or write code yourself; >> > > > WebMatrix provides all the features you need to develop and >> > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> > > > _______________________________________________ >> > > > xmlpipedb-developer mailing list >> > > > xml...@li... >> > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > >> > > > <ATT00001..txt><ATT00002..txt> >> > > >> > > >> > > >> ------------------------------------------------------------------------------ >> > > Create and publish websites with WebMatrix >> > > Use the most popular FREE web apps or write code yourself; >> > > WebMatrix provides all the features you need to develop and >> > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> > > _______________________________________________ >> > > xmlpipedb-developer mailing list >> > > xml...@li... >> > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > >> > >> > > <ATT00001..txt><ATT00002..txt> >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Forrester Wave Report - Recovery time is now measured in hours and >> minutes >> > not days. Key insights are discussed in the 2010 Forrester Wave Report >> as >> > part of an in-depth evaluation of disaster recovery service providers. >> > Forrester found the best-in-class provider in terms of services and >> vision. >> > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> > >> > _______________________________________________ >> > xmlpipedb-developer mailing list >> > xml...@li... >> > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > >> > >> >> > <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> >> >> >> >> ------------------------------------------------------------------------------ >> Forrester Wave Report - Recovery time is now measured in hours and minutes >> not days. Key insights are discussed in the 2010 Forrester Wave Report as >> part of an in-depth evaluation of disaster recovery service providers. >> Forrester found the best-in-class provider in terms of services and >> vision. >> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> > > |
From: Richard B. <rbr...@gm...> - 2011-04-13 01:18:13
|
OK, I'll look around and attempt to sniff out the code regarding populating the drop down menu on the first export screen. But that said, I was surprised it didn't work since the functionality 'seemed' to be in place for the two working species (P_a and S_a). And I noticed that the working species don't always show in the drop down box, so figured they likely aren't hard coded in. Richard On Tue, Apr 12, 2011 at 6:04 PM, John David N. Dionisio <do...@lm...>wrote: > Greetings, > > First off, recall that the taxon ID that is given to the species profile is > not involved in building the dropdown menu; it is used to match the chosen > taxon ID from that menu with a species profile to use. That dropdown menu > is built from a database query that retrieves all available taxon IDs and > species names in the PostgreSQL database. > > With that in mind, I would tackle this as follows: > > - First, track down the code that builds the data displayed in that > JComboBox. It should be trackable from the wizard panel code. If you're > having trouble finding it, let me know and I can take a stab at following > the breadcrumbs, or you can ask Don. > > This code should ultimately lead you to the database query that derives the > overall list of available taxon IDs and species names in the PostgreSQL > database. > > - Now, armed with this database query, you can verify the validity of this > query directly in PostgreSQL. Essentially you need to make sure that this > query does indeed retrieve the list of all taxon IDs and species names that > are present in the PostgreSQL database. > > If the query is correct, then the issue is in the way the JComboBox is put > together. This may need a little more knowledge of Swing that you have, in > which case send the issue my way and I can take a look. > > If the query is incorrect, then it should be corrected. If the Swing code > is correct, then things should work. If the Swing code is also incorrect, > then you are at the previous case, and the Swing code now needs to be > addressed (safe in the knowledge that the data part has been fixed). > > Let me know how that plan sounds to you. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: > > > Great, glad we are on the same page! > > > > I went ahead and added the taxon id to the Mtuberculosis species profile, > recompiled and initiated an export but the expected taxon id didn't show in > the species drop down box. > > > > The coded modified is (as shown above): > > > > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > > > super("Mycobacterium tuberculosis", 83332, > > > > "This profile customizes the GenMAPP Builder export for Mycobacterium > Tuberculosis data loaded from a UniProt XML file."); > > } > > > > Attached is a ss of the dialog box. > > > > I also checked to make sure the species was listed in the > UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species > are present. > > > > Any idea where i should look next aside from assuring that the change is > actually in my working build? > > > > Thanks! > > > > Richard > > > > > > > > > > On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> > wrote: > > > > Hi Rich, > > > > Thanks for the update. I agree that we can move past the merge stage > now. > > > > Regarding the species constructor, yes, having the required change > consist solely of the addition of the taxon ID really was the goal. > "Separation of concerns" and "don't repeat yourself" and all that :) Note > how, in the end, the designation of the taxon ID is truly the only piece of > additional information that is required of species profiles in order to get > the work done. So, this ideal is reflected in the code. > > > > Of course, there is a possibility that certain types of customizations > may require additional work; however that depends on the type of > customization involved and the way the species profile implements it. We > can approach those on a per-species-profile basis. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > > > On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > > > > > Hi all, > > > > > > I recreated a multispecies postgres db for P_aeruginosa and S_aureus > and reimported the species xml files: > > > P_aeruginosa UniProtXML > > > P_aeruginosa goa > > > > > > S_aureus UniProtXML > > > S_aureus goa > > > > > > GO xml > > > processed go data > > > > > > I then exported P_aeruginosa .gdb using both Don's name2taxon code and > the new trunk (b64): both gdb's original row counts are identical > > > Also exported S_aureus using both Don's name2taxon code and the new > trunk (b64) : both gdb's original row counts are identical > > > > > > I think we can safely say that Don's name2taxon changes are working at > the point where he left off and the successful merge into the trunk is now > verfied. > > > > > > > ============================================================================= > > > > > > Now to move to species I am familiar with and ensure they still match > the base line gdb's generated from b63. > > > > > > The first species I will work on is Mtuberculosis. From the readme file > of the gdb previously posted, the taxon id is 83332. > > > > > > I will go ahead and make the change to the Mtuberculosis species > profile which is to add the taxon id in the form: > > > > > > > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > > > > > super("Mycobacterium tuberculosis", 83332, > > > > > > "This profile customizes the GenMAPP Builder export for Mycobacterium > Tuberculosis data loaded from a UniProt XML file."); > > > } > > > > > > When comparing to S_aereus species profile, it was the only change to > make in the Mtuberculosis species profile. > > > > > > I rechecked my notes from this morning and don't see any other changes > needed to enable our newer species to work with the post merge constructor. > > > > > > I'll attempt an export tomorrow and see what happens. > > > > > > Richard > > > > > > On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> > wrote: > > > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ > directory under tags/ if it is not already there, and make sure that the > copied/tagged/branched subdirectory under that corresponds to the top-level > directory of a gmbuilder project (i.e., it contains the build.xml, other > top-level directories, etc.). > > > > > > Subversion copies are “cheap:” it is OK to copy deep trees of files. > You only start using additional storage space if the files themselves get > modified. Otherwise, they are just references to their original versions. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > > > > > > > ok, so should I start at the gmbuilder directory Or the src > directory? > > > > > > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > Yes, in Subversion what they did is collapse both activities into a > single operation called "Copy." Whether you use the copy as a branch for > modifications, or use it as a tag for posterity, is left to the developer > and not the system. > > > > > > > > This functional change is the subject of some debate in the > community. Some folks still feel that "enforced" tags have their benefits. > But in the end, this is how Subversion conducts things, so we'll just have > to go with it. > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > > > > > > > ok, makes sense because when I went through the process (without > clicking finish) there was really no difference between the two... not even > a specification to say this this is a "tag" vs "branch" unless I can only do > that in the comments. > > > > > > > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > > Yes, tags and branches are structurally identical in Subversion. > The only difference between a “tag” and a “branch” is that the developers > have agreed to *not* touch a tag after it has been copied out. > > > > > > > > > > In other words, “tags” and “branches” are only different in > Subversion by consensus. The distinction is not system-enforced. > > > > > > > > > > John David N. Dionisio, PhD > > > > > Associate Professor, Computer Science > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > > > > > > > tagging is really creating a new branch for posterity? > > > > > > > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > > > You'll want to tag from the repository, since your local copy has > been modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > > > > > > > > > > > > If you want to play it really safe, you can even do the tagging > from a completely separate Eclipse workspace that does not have your local > copies loaded up. > > > > > > > > > > > > John David N. Dionisio, PhD > > > > > > Associate Professor, Computer Science > > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > > > > Hi Rich, > > > > > > > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > > > > > > > > > > > > > > Also, it will save some time if your before- and after- .gdbs > are available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > > > > > > > > > > > > > Happy digital forensics... > > > > > > > > > > > > > > John David N. Dionisio, PhD > > > > > > > Associate Professor, Computer Science > > > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > > > > > > > I have double checked my manual merge to confirm that in fact > my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > > > > > > > So when running gdb exports for each I determined that in > fact something broke in the merge. > > > > > > > > > > > > > > > > Before I start digging into this further I want to ask a > couple questions: > > > > > > > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave > them locally on my laptop while troubleshooting? I know we can revert to > earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and > Pfalciparum on my laptop. Would you like me to post them for review or will > you be running your own anyway? > > > > > > > > > > > > > > > > Richard > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Create and publish websites with WebMatrix > > > > > > > Use the most popular FREE web apps or write code yourself; > > > > > > > WebMatrix provides all the features you need to develop and > > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > > _______________________________________________ > > > > > > > xmlpipedb-developer mailing list > > > > > > > xml...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Create and publish websites with WebMatrix > > > > > > Use the most popular FREE web apps or write code yourself; > > > > > > WebMatrix provides all the features you need to develop and > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > _______________________________________________ > > > > > > xmlpipedb-developer mailing list > > > > > > xml...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Create and publish websites with WebMatrix > > > > > Use the most popular FREE web apps or write code yourself; > > > > > WebMatrix provides all the features you need to develop and > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > _______________________________________________ > > > > > xmlpipedb-developer mailing list > > > > > xml...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and > minutes > > not days. Key insights are discussed in the 2010 Forrester Wave Report as > > part of an in-depth evaluation of disaster recovery service providers. > > Forrester found the best-in-class provider in terms of services and > vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-13 01:04:37
|
Greetings, First off, recall that the taxon ID that is given to the species profile is not involved in building the dropdown menu; it is used to match the chosen taxon ID from that menu with a species profile to use. That dropdown menu is built from a database query that retrieves all available taxon IDs and species names in the PostgreSQL database. With that in mind, I would tackle this as follows: - First, track down the code that builds the data displayed in that JComboBox. It should be trackable from the wizard panel code. If you're having trouble finding it, let me know and I can take a stab at following the breadcrumbs, or you can ask Don. This code should ultimately lead you to the database query that derives the overall list of available taxon IDs and species names in the PostgreSQL database. - Now, armed with this database query, you can verify the validity of this query directly in PostgreSQL. Essentially you need to make sure that this query does indeed retrieve the list of all taxon IDs and species names that are present in the PostgreSQL database. If the query is correct, then the issue is in the way the JComboBox is put together. This may need a little more knowledge of Swing that you have, in which case send the issue my way and I can take a look. If the query is incorrect, then it should be corrected. If the Swing code is correct, then things should work. If the Swing code is also incorrect, then you are at the previous case, and the Swing code now needs to be addressed (safe in the knowledge that the data part has been fixed). Let me know how that plan sounds to you. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 12, 2011, at 5:56 PM, Richard Brous wrote: > Great, glad we are on the same page! > > I went ahead and added the taxon id to the Mtuberculosis species profile, recompiled and initiated an export but the expected taxon id didn't show in the species drop down box. > > The coded modified is (as shown above): > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > super("Mycobacterium tuberculosis", 83332, > > "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > } > > Attached is a ss of the dialog box. > > I also checked to make sure the species was listed in the UniProtDatabaseProfile and Mtuberculosis and the rest of the newer species are present. > > Any idea where i should look next aside from assuring that the change is actually in my working build? > > Thanks! > > Richard > > > > > On Tue, Apr 12, 2011 at 3:40 PM, John David N. Dionisio <do...@lm...> wrote: > > Hi Rich, > > Thanks for the update. I agree that we can move past the merge stage now. > > Regarding the species constructor, yes, having the required change consist solely of the addition of the taxon ID really was the goal. "Separation of concerns" and "don't repeat yourself" and all that :) Note how, in the end, the designation of the taxon ID is truly the only piece of additional information that is required of species profiles in order to get the work done. So, this ideal is reflected in the code. > > Of course, there is a possibility that certain types of customizations may require additional work; however that depends on the type of customization involved and the way the species profile implements it. We can approach those on a per-species-profile basis. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > > On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > > > Hi all, > > > > I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: > > P_aeruginosa UniProtXML > > P_aeruginosa goa > > > > S_aureus UniProtXML > > S_aureus goa > > > > GO xml > > processed go data > > > > I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical > > Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical > > > > I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. > > > > ============================================================================= > > > > Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. > > > > The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. > > > > I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: > > > > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > > > super("Mycobacterium tuberculosis", 83332, > > > > "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > > } > > > > When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. > > > > I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. > > > > I'll attempt an export tomorrow and see what happens. > > > > Richard > > > > On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> wrote: > > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). > > > > Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > > > > > ok, so should I start at the gmbuilder directory Or the src directory? > > > > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: > > > Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. > > > > > > This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > > > > > ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > > > > > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > > > > Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > > > > > > > > In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > > > > > tagging is really creating a new branch for posterity? > > > > > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > > > > > > > > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > > > > > > > > > John David N. Dionisio, PhD > > > > > Associate Professor, Computer Science > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > > Hi Rich, > > > > > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > > > > > > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > > > > > > > > > Happy digital forensics... > > > > > > > > > > > > John David N. Dionisio, PhD > > > > > > Associate Professor, Computer Science > > > > > > Loyola Marymount University > > > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > > > > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > > > > > > > > > Richard > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Create and publish websites with WebMatrix > > > > > > Use the most popular FREE web apps or write code yourself; > > > > > > WebMatrix provides all the features you need to develop and > > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > _______________________________________________ > > > > > > xmlpipedb-developer mailing list > > > > > > xml...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Create and publish websites with WebMatrix > > > > > Use the most popular FREE web apps or write code yourself; > > > > > WebMatrix provides all the features you need to develop and > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > _______________________________________________ > > > > > xmlpipedb-developer mailing list > > > > > xml...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > <Tb_export_screen.jpg><ATT00001..txt><ATT00002..txt> |
From: John D. N. D. <do...@lm...> - 2011-04-12 22:40:40
|
Hi Rich, Thanks for the update. I agree that we can move past the merge stage now. Regarding the species constructor, yes, having the required change consist solely of the addition of the taxon ID really was the goal. "Separation of concerns" and "don't repeat yourself" and all that :) Note how, in the end, the designation of the taxon ID is truly the only piece of additional information that is required of species profiles in order to get the work done. So, this ideal is reflected in the code. Of course, there is a possibility that certain types of customizations may require additional work; however that depends on the type of customization involved and the way the species profile implements it. We can approach those on a per-species-profile basis. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 11, 2011, at 11:57 PM, Richard Brous wrote: > Hi all, > > I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: > P_aeruginosa UniProtXML > P_aeruginosa goa > > S_aureus UniProtXML > S_aureus goa > > GO xml > processed go data > > I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical > Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical > > I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. > > ============================================================================= > > Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. > > The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. > > I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: > > > public MycobacteriumTuberculosisUniProtSpeciesProfile() { > > super("Mycobacterium tuberculosis", 83332, > > "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); > } > > When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. > > I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. > > I'll attempt an export tomorrow and see what happens. > > Richard > > On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...> wrote: > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). > > Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > > > ok, so should I start at the gmbuilder directory Or the src directory? > > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: > > Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. > > > > This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > > > ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > > > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > > > Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > > > > > > In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > > > tagging is really creating a new branch for posterity? > > > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > > > > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > > > > > > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > > > > Hi Rich, > > > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > > > > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > > > > > > > Happy digital forensics... > > > > > > > > > > John David N. Dionisio, PhD > > > > > Associate Professor, Computer Science > > > > > Loyola Marymount University > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > > > Hi all, > > > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > > > > > > > Richard > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Create and publish websites with WebMatrix > > > > > Use the most popular FREE web apps or write code yourself; > > > > > WebMatrix provides all the features you need to develop and > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > _______________________________________________ > > > > > xmlpipedb-developer mailing list > > > > > xml...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-12 06:57:49
|
Hi all, I recreated a multispecies postgres db for P_aeruginosa and S_aureus and reimported the species xml files: P_aeruginosa UniProtXML P_aeruginosa goa S_aureus UniProtXML S_aureus goa GO xml processed go data I then exported P_aeruginosa .gdb using both Don's name2taxon code and the new trunk (b64): both gdb's original row counts are identical Also exported S_aureus using both Don's name2taxon code and the new trunk (b64) : both gdb's original row counts are identical I think we can safely say that Don's name2taxon changes are working at the point where he left off and the successful merge into the trunk is now verfied. ============================================================================= Now to move to species I am familiar with and ensure they still match the base line gdb's generated from b63. The first species I will work on is Mtuberculosis. From the readme file of the gdb previously posted, the taxon id is 83332. I will go ahead and make the change to the Mtuberculosis species profile which is to add the taxon id in the form: *public* MycobacteriumTuberculosisUniProtSpeciesProfile() { *super*("Mycobacterium tuberculosis", 83332, "This profile customizes the GenMAPP Builder export for Mycobacterium Tuberculosis data loaded from a UniProt XML file."); } When comparing to S_aereus species profile, it was the only change to make in the Mtuberculosis species profile. I rechecked my notes from this morning and don't see any other changes needed to enable our newer species to work with the post merge constructor. I'll attempt an export tomorrow and see what happens. Richard On Fri, Apr 1, 2011 at 12:51 PM, John David N. Dionisio <do...@lm...>wrote: > Follow the way the name2taxon “branch” was done. Put a gmbuilder/ > directory under tags/ if it is not already there, and make sure that the > copied/tagged/branched subdirectory under that corresponds to the top-level > directory of a gmbuilder project (i.e., it contains the build.xml, other > top-level directories, etc.). > > Subversion copies are “cheap:” it is OK to copy deep trees of files. You > only start using additional storage space if the files themselves get > modified. Otherwise, they are just references to their original versions. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > > > ok, so should I start at the gmbuilder directory Or the src directory? > > > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> > wrote: > > Yes, in Subversion what they did is collapse both activities into a > single operation called "Copy." Whether you use the copy as a branch for > modifications, or use it as a tag for posterity, is left to the developer > and not the system. > > > > This functional change is the subject of some debate in the community. > Some folks still feel that "enforced" tags have their benefits. But in the > end, this is how Subversion conducts things, so we'll just have to go with > it. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > > > ok, makes sense because when I went through the process (without > clicking finish) there was really no difference between the two... not even > a specification to say this this is a "tag" vs "branch" unless I can only do > that in the comments. > > > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> > wrote: > > > Yes, tags and branches are structurally identical in Subversion. The > only difference between a “tag” and a “branch” is that the developers have > agreed to *not* touch a tag after it has been copied out. > > > > > > In other words, “tags” and “branches” are only different in Subversion > by consensus. The distinction is not system-enforced. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > > > tagging is really creating a new branch for posterity? > > > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > You'll want to tag from the repository, since your local copy has > been modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > > > > > > > > If you want to play it really safe, you can even do the tagging from > a completely separate Eclipse workspace that does not have your local copies > loaded up. > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > > Hi Rich, > > > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > > > > > > > > > > Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > > > > > > > > > Happy digital forensics... > > > > > > > > > > John David N. Dionisio, PhD > > > > > Associate Professor, Computer Science > > > > > Loyola Marymount University > > > > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > > > Hi all, > > > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > > > I have double checked my manual merge to confirm that in fact my > edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > > > So when running gdb exports for each I determined that in fact > something broke in the merge. > > > > > > > > > > > > Before I start digging into this further I want to ask a couple > questions: > > > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave > them locally on my laptop while troubleshooting? I know we can revert to > earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and > Pfalciparum on my laptop. Would you like me to post them for review or will > you be running your own anyway? > > > > > > > > > > > > Richard > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Create and publish websites with WebMatrix > > > > > Use the most popular FREE web apps or write code yourself; > > > > > WebMatrix provides all the features you need to develop and > > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > _______________________________________________ > > > > > xmlpipedb-developer mailing list > > > > > xml...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-01 19:51:44
|
Follow the way the name2taxon “branch” was done. Put a gmbuilder/ directory under tags/ if it is not already there, and make sure that the copied/tagged/branched subdirectory under that corresponds to the top-level directory of a gmbuilder project (i.e., it contains the build.xml, other top-level directories, etc.). Subversion copies are “cheap:” it is OK to copy deep trees of files. You only start using additional storage space if the files themselves get modified. Otherwise, they are just references to their original versions. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 1, 2011, at 12:47 PM, Richard Brous wrote: > ok, so should I start at the gmbuilder directory Or the src directory? > > On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...> wrote: > Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. > > This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > > Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > > > > In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > tagging is really creating a new branch for posterity? > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > > > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > > > > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > > > Hi Rich, > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > > > > > Happy digital forensics... > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > Hi all, > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > > > > > Richard > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-01 19:47:19
|
ok, so should I start at the gmbuilder directory Or the src directory? On Fri, Apr 1, 2011 at 11:42 AM, John David N. Dionisio <do...@lm...>wrote: > Yes, in Subversion what they did is collapse both activities into a single > operation called "Copy." Whether you use the copy as a branch for > modifications, or use it as a tag for posterity, is left to the developer > and not the system. > > This functional change is the subject of some debate in the community. > Some folks still feel that "enforced" tags have their benefits. But in the > end, this is how Subversion conducts things, so we'll just have to go with > it. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > > > ok, makes sense because when I went through the process (without clicking > finish) there was really no difference between the two... not even a > specification to say this this is a "tag" vs "branch" unless I can only do > that in the comments. > > > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> > wrote: > > Yes, tags and branches are structurally identical in Subversion. The > only difference between a “tag” and a “branch” is that the developers have > agreed to *not* touch a tag after it has been copied out. > > > > In other words, “tags” and “branches” are only different in Subversion by > consensus. The distinction is not system-enforced. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > > > tagging is really creating a new branch for posterity? > > > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> > wrote: > > > You'll want to tag from the repository, since your local copy has been > modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > > > > > > If you want to play it really safe, you can even do the tagging from a > completely separate Eclipse workspace that does not have your local copies > loaded up. > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > > > Am I tagging in my local project or in the repository? > > > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio < > do...@lm...> wrote: > > > > Hi Rich, > > > > > > > > I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > > > > > > > > Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > > > > > > > Happy digital forensics... > > > > > > > > John David N. Dionisio, PhD > > > > Associate Professor, Computer Science > > > > Loyola Marymount University > > > > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > > > Hi all, > > > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > > > I have double checked my manual merge to confirm that in fact my > edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > > > So when running gdb exports for each I determined that in fact > something broke in the merge. > > > > > > > > > > Before I start digging into this further I want to ask a couple > questions: > > > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them > locally on my laptop while troubleshooting? I know we can revert to earlier > versions if needed but wanted to be sure we were all on same page. > > > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum > on my laptop. Would you like me to post them for review or will you be > running your own anyway? > > > > > > > > > > Richard > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and publish websites with WebMatrix > > > > Use the most popular FREE web apps or write code yourself; > > > > WebMatrix provides all the features you need to develop and > > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > > > xmlpipedb-developer mailing list > > > > xml...@li... > > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-01 19:42:42
|
Yes, in Subversion what they did is collapse both activities into a single operation called "Copy." Whether you use the copy as a branch for modifications, or use it as a tag for posterity, is left to the developer and not the system. This functional change is the subject of some debate in the community. Some folks still feel that "enforced" tags have their benefits. But in the end, this is how Subversion conducts things, so we'll just have to go with it. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 1, 2011, at 12:38 PM, Richard Brous wrote: > ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. > > On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...> wrote: > Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. > > In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > tagging is really creating a new branch for posterity? > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > Am I tagging in my local project or in the repository? > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > > Hi Rich, > > > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > > > Happy digital forensics... > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > Hi all, > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > > > Richard > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-01 19:38:45
|
ok, makes sense because when I went through the process (without clicking finish) there was really no difference between the two... not even a specification to say this this is a "tag" vs "branch" unless I can only do that in the comments. On Fri, Apr 1, 2011 at 11:35 AM, John David N. Dionisio <do...@lm...>wrote: > Yes, tags and branches are structurally identical in Subversion. The only > difference between a “tag” and a “branch” is that the developers have agreed > to *not* touch a tag after it has been copied out. > > In other words, “tags” and “branches” are only different in Subversion by > consensus. The distinction is not system-enforced. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > > > tagging is really creating a new branch for posterity? > > > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> > wrote: > > You'll want to tag from the repository, since your local copy has been > modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > > > > If you want to play it really safe, you can even do the tagging from a > completely separate Eclipse workspace that does not have your local copies > loaded up. > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > > > Am I tagging in my local project or in the repository? > > > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> > wrote: > > > Hi Rich, > > > > > > I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > > > > > > Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > > > > > Happy digital forensics... > > > > > > John David N. Dionisio, PhD > > > Associate Professor, Computer Science > > > Loyola Marymount University > > > > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > > > Hi all, > > > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > > > I have double checked my manual merge to confirm that in fact my > edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > > > So when running gdb exports for each I determined that in fact > something broke in the merge. > > > > > > > > Before I start digging into this further I want to ask a couple > questions: > > > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them > locally on my laptop while troubleshooting? I know we can revert to earlier > versions if needed but wanted to be sure we were all on same page. > > > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum > on my laptop. Would you like me to post them for review or will you be > running your own anyway? > > > > > > > > Richard > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > > > > ------------------------------------------------------------------------------ > > > Create and publish websites with WebMatrix > > > Use the most popular FREE web apps or write code yourself; > > > WebMatrix provides all the features you need to develop and > > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > _______________________________________________ > > > xmlpipedb-developer mailing list > > > xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-01 19:35:35
|
Yes, tags and branches are structurally identical in Subversion. The only difference between a “tag” and a “branch” is that the developers have agreed to *not* touch a tag after it has been copied out. In other words, “tags” and “branches” are only different in Subversion by consensus. The distinction is not system-enforced. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 1, 2011, at 12:32 PM, Richard Brous wrote: > tagging is really creating a new branch for posterity? > > On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...> wrote: > You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. > > If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > Am I tagging in my local project or in the repository? > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > > Hi Rich, > > > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > > > Happy digital forensics... > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > Hi all, > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > > > Before I start digging into this further I want to ask a couple questions: > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > > > Richard > > > <ATT00001..txt><ATT00002..txt> > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-01 19:32:11
|
tagging is really creating a new branch for posterity? On Fri, Apr 1, 2011 at 10:56 AM, John David N. Dionisio <do...@lm...>wrote: > You'll want to tag from the repository, since your local copy has been > modified. If you issue the tag command from the SVN Repository Viewing > perspective, that should happen server-side. > > If you want to play it really safe, you can even do the tagging from a > completely separate Eclipse workspace that does not have your local copies > loaded up. > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > > On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > > > Am I tagging in my local project or in the repository? > > > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> > wrote: > > Hi Rich, > > > > I think it's OK to commit to the trunk, with one tweak for easy > management: before committing, copy out ("tag") what is in the trunk right > now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something > like that). This way, you have an easy basis for comparison if you need to > go back to how the trunk was before name2taxon came along. > > > > Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > > > Happy digital forensics... > > > > John David N. Dionisio, PhD > > Associate Professor, Computer Science > > Loyola Marymount University > > > > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > > > Hi all, > > > > > > Started a new thread since this is Pfalciparum specific. > > > > > > I have double checked my manual merge to confirm that in fact my edits > were correctly included for Mtuberculosis and Pfalciparum. > > > > > > So when running gdb exports for each I determined that in fact > something broke in the merge. > > > > > > Before I start digging into this further I want to ask a couple > questions: > > > > > > 1. Should I commit the changes up to Sourceforge yet or leave them > locally on my laptop while troubleshooting? I know we can revert to earlier > versions if needed but wanted to be sure we were all on same page. > > > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on > my laptop. Would you like me to post them for review or will you be running > your own anyway? > > > > > > Richard > > > <ATT00001..txt><ATT00002..txt> > > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-01 18:56:50
|
You'll want to tag from the repository, since your local copy has been modified. If you issue the tag command from the SVN Repository Viewing perspective, that should happen server-side. If you want to play it really safe, you can even do the tagging from a completely separate Eclipse workspace that does not have your local copies loaded up. John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 1, 2011, at 11:54 AM, Richard Brous wrote: > Am I tagging in my local project or in the repository? > > On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...> wrote: > Hi Rich, > > I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. > > Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. > > Happy digital forensics... > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > Hi all, > > > > Started a new thread since this is Pfalciparum specific. > > > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > > > So when running gdb exports for each I determined that in fact something broke in the merge. > > > > Before I start digging into this further I want to ask a couple questions: > > > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > > > Richard > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-01 18:55:03
|
Am I tagging in my local project or in the repository? On Fri, Apr 1, 2011 at 10:51 AM, John David N. Dionisio <do...@lm...>wrote: > Hi Rich, > > I think it's OK to commit to the trunk, with one tweak for easy management: > before committing, copy out ("tag") what is in the trunk right now, and put > it in /tags/gmbuilder/before-name2taxon-merge (or something like that). > This way, you have an easy basis for comparison if you need to go back to > how the trunk was before name2taxon came along. > > Also, it will save some time if your before- and after- .gdbs are > available. Running our own exports, while of course doable as you said, > would require things like getting old versions, building them, etc. > > Happy digital forensics... > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > > > Hi all, > > > > Started a new thread since this is Pfalciparum specific. > > > > I have double checked my manual merge to confirm that in fact my edits > were correctly included for Mtuberculosis and Pfalciparum. > > > > So when running gdb exports for each I determined that in fact something > broke in the merge. > > > > Before I start digging into this further I want to ask a couple > questions: > > > > 1. Should I commit the changes up to Sourceforge yet or leave them > locally on my laptop while troubleshooting? I know we can revert to earlier > versions if needed but wanted to be sure we were all on same page. > > > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my > laptop. Would you like me to post them for review or will you be running > your own anyway? > > > > Richard > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |
From: John D. N. D. <do...@lm...> - 2011-04-01 18:51:44
|
Hi Rich, I think it's OK to commit to the trunk, with one tweak for easy management: before committing, copy out ("tag") what is in the trunk right now, and put it in /tags/gmbuilder/before-name2taxon-merge (or something like that). This way, you have an easy basis for comparison if you need to go back to how the trunk was before name2taxon came along. Also, it will save some time if your before- and after- .gdbs are available. Running our own exports, while of course doable as you said, would require things like getting old versions, building them, etc. Happy digital forensics... John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Apr 1, 2011, at 11:42 AM, Richard Brous wrote: > Hi all, > > Started a new thread since this is Pfalciparum specific. > > I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. > > So when running gdb exports for each I determined that in fact something broke in the merge. > > Before I start digging into this further I want to ask a couple questions: > > 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. > > 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? > > Richard > <ATT00001..txt><ATT00002..txt> |
From: Richard B. <rbr...@gm...> - 2011-04-01 18:42:29
|
Hi all, Started a new thread since this is Pfalciparum specific. I have double checked my manual merge to confirm that in fact my edits were correctly included for Mtuberculosis and Pfalciparum. So when running gdb exports for each I determined that in fact something broke in the merge. Before I start digging into this further I want to ask a couple questions: 1. Should I commit the changes up to Sourceforge yet or leave them locally on my laptop while troubleshooting? I know we can revert to earlier versions if needed but wanted to be sure we were all on same page. 2. I have before and after exports of Mtuberculosis and Pfalciparum on my laptop. Would you like me to post them for review or will you be running your own anyway? Richard |
From: Richard B. <rbr...@gm...> - 2011-03-31 00:37:45
|
OK, completed the merge manually and have verified that the build actually compiles without error and the export functionality does not hang or crash. But that said, I ran two sample exports for Mtuberculosis and Pfalciparum and both exports seem to be bad in that they have wrong counts or are missing all ordered locus id's etc. Before I reach out for more help I think I will verify that I moved the correct species changes for both and try again. The manual merge was much easier than I thought it would be... Richard On Tue, Mar 29, 2011 at 5:29 PM, Richard Brous <rbr...@gm...> wrote: > Dondi, > > Thanks for the chat regarding this issue. > > I'm in agreement that since it is significant work to either: a) create a > new repository (with the newer file system) and dump the original contents > inside or b) get Sourceforge to upgrade to the latest version of SVN... it > makes sense to manually do the merge 'file by file'. > > I will likely start this evening and can work on it slowly during the week, > employing the strategy of modifying the files as needed, then change the > branch working copy files to match the trunk working copy. As discussed, > that will allow the local compare to keep track of the remaining changes. I > will be sure NOT TO commit any local branch changes up to the repository. > > Richard > > On Tue, Mar 29, 2011 at 1:04 PM, John David N. Dionisio <do...@lm...>wrote: > >> We can do phone, but later in the afternoon. What's your schedule like >> today? >> >> >> John David N. Dionisio, PhD >> Associate Professor, Computer Science >> Loyola Marymount University >> >> >> On Mar 29, 2011, at 12:54 PM, Richard Brous <rbr...@gm...> wrote: >> >> i'm using subclipse 1.6.17 so that is up to date. >> >> is it possible to talk through this on the phone? I have a few questions >> after reading through the svn tutorial of how the merge is performed within >> Eclipse. >> >> richard >> >> On Tue, Mar 29, 2011 at 12:38 PM, John David N. Dionisio <do...@lm...>wrote: >> >>> Hi Rich, >>> >>> The unknown with this error is whether this is a limitation on the server >>> side (SourceForge) or client side (your copy of Subclipse/Subversion). If >>> the former, that will need some investigation. Let's try with the latter >>> case first: >>> >>> - Make sure you have the latest Subclipse/Subversion. According to >>> Subclipse, they are at 1.6.17. >>> >>> - You might need to re-check out the projects if you updated Subclipse >>> versions. >>> >>> - Try again. >>> >>> If the error persists, then this may be a server side issue, in which the >>> action may be to *downgrade* the Subversion version. But we'll cross that >>> bridge if/when we get to it. >>> >>> Hope this helps... >>> >>> John David N. Dionisio, PhD >>> Associate Professor, Computer Science >>> Loyola Marymount University >>> >>> >>> On Mar 29, 2011, at 10:13 AM, Richard Brous wrote: >>> >>> > Hi Dondi, >>> > >>> > I'm working on the merge and have located the merge functionality under >>> the team menu in Eclipse. >>> > >>> > The first menu requests a choice regarding the type of merge required. >>> > I would expect the correct selection to be reintegrate branch. >>> > >>> > I then select the branch to merge and ask for conflicts of all types be >>> noted for later review. >>> > >>> > Click finish and it attempts to merge but I receive an error message of >>> the following: >>> > org.tigris.subversion.javahl.ClientException: Trying to use an >>> unsupported feature >>> > svn: Querying mergeinfo requires version 3 of the FSFS filesystem >>> schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 >>> > org.tigris.subversion.javahl.ClientException: Trying to use an >>> unsupported feature >>> > svn: Querying mergeinfo requires version 3 of the FSFS filesystem >>> schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 >>> > Help please! >>> > >>> > Thanks. >>> > >>> > Richard >>> > On Fri, Mar 25, 2011 at 3:50 PM, Richard Brous <rbr...@gm...> >>> wrote: >>> > ok, beta 63 is up on sourceforge. >>> > >>> > Richard >>> > >>> > On Fri, Mar 25, 2011 at 2:55 PM, Richard Brous <rbr...@gm...> >>> wrote: >>> > will do. i'll send out an email when completed. >>> > >>> > On Fri, Mar 25, 2011 at 11:30 AM, Kam Dahlquist <kda...@lm...> >>> wrote: >>> > Hi, >>> > >>> > I've checked the gdb and it looks OK. Richard, will you release a >>> build of GenMAPP Builder with these changes so that I can test the export on >>> one of my machines? I am going to work on the ReadMe for this gdb so we can >>> release it. >>> > >>> > Once I've validated that the new version of GenMAPP Builder works, >>> we'll be ready to move on to the code merge. >>> > >>> > Best, >>> > Dr. D >>> > >>> > >>> > At 09:15 PM 3/24/2011, you wrote: >>> >> Sorry for the late reply... been laid up with a cold and barely >>> functioning on cold medicine... >>> >> >>> >> I believe I have the Pfalciparum solved by using the following code: >>> >> >>> >> >>> >> /** >>> >> >>> >> * >>> >> >>> >> @see >>> edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.profiles.UniProtSpeciesProfile#getSystemTableManagerCustomizations(edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, >>> edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, >>> java.util.Date) >>> >> >>> >> */ >>> >> >>> >> @Override >>> >> >>> >> public TableManager getSystemTableManagerCustomizations(TableManager >>> tableManager, TableManager primarySystemTableManager, Date version) throws >>> SQLException, InvalidParameterException { >>> >> >>> >> // Start with the default OrderedLocusNames behavior. >>> >> >>> >> TableManager result = >>> >> super .getSystemTableManagerCustomizations(tableManager, >>> primarySystemTableManager, version); >>> >> >>> >> // Next, we add IDs from the other gene/name tags, but ONLY if they >>> match >>> >> >>> >> // the pattern PF[A-Z][0-9]{4}[a-z]. >>> >> >>> >> //final String pfID = "PF[A-Z][0-9][0-9][0-9][0-9][a-z]"; >>> >> >>> >> //final String pfID2 = "PF[0-9][0-9]_[0-9][0-9][0-9][0-9]"; >>> >> >>> >> //final String pfID3 = "MAL[0-9]*P1.[0-9]*"; >>> >> >>> >> String sqlQuery = >>> >> "select d.entrytype_gene_hjid as hjid, c.value " + >>> >> >>> >> "from genenametype c inner join entrytype_genetype d " + >>> >> >>> >> "on (c.entrytype_genetype_name_hjid = d.hjid) " + >>> >> >>> >> //"where (c.value similar to ? " + >>> >> >>> >> "where c.type = 'ORF'" + >>> >> >>> >> //"or c.value similar to ? " + >>> >> >>> >> //"or c.value similar to ?) " + >>> >> >>> >> //"and type <> 'ordered locus names' " + >>> >> >>> >> //"and type <> 'ORF' " + >>> >> >>> >> "group by d.entrytype_gene_hjid, c.value"; >>> >> >>> >> String dateToday = >>> GenMAPPBuilderUtilities.getSystemsDateString(version); >>> >> >>> >> Connection c = ConnectionManager.getRelationalDBConnection(); >>> >> >>> >> PreparedStatement ps; >>> >> >>> >> ResultSet rs; >>> >> >>> >> try { >>> >> >>> >> // Query, iterate, add to table manager. >>> >> >>> >> ps = c.prepareStatement(sqlQuery); >>> >> >>> >> //ps.setString(1, pfID); >>> >> >>> >> //ps.setString(2, pfID2); >>> >> >>> >> //ps.setString(3, pfID3); >>> >> >>> >> rs = ps.executeQuery(); >>> >> >>> >> while (rs.next()) { >>> >> >>> >> String hjid = Long.valueOf(rs.getLong( >>> >> "hjid" )).toString(); >>> >> >>> >> // capture unmodified value in string variable id >>> >> >>> >> // We want to remove the '_' here but also add id's with the '_' >>> >> >>> >> String id = rs.getString( >>> >> "value" ); >>> >> >>> >> // condition if id matched pattern "PFA_" >>> >> >>> >> if (id.matches("PFA_.*" )) { >>> >> >>> >> String[] substrings = id.split("/" ); >>> >> >>> >> String new_id = null; >>> >> >>> >> String old_id = id; >>> >> >>> >> for (int i = 0; i < substrings.length ; i++) { >>> >> >>> >> new_id = substrings[i].replace("_" , ""); >>> >> >>> >> _Log.debug( "Remove '_' from " + id + " to create: " + new_id + " for >>> surrogate " + hjid); >>> >> >>> >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] >>> { { "ID", new_id }, { "Species" , "|" + getSpeciesName() + "|" }, { >>> "\"Date\"" , dateToday }, { "UID", hjid } }); >>> >> >>> >> _Log.debug( "Keep '_' from " + id + " to create: " + old_id + " for >>> surrogate " + hjid); >>> >> >>> >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] >>> { { "ID", old_id }, { "Species" , "|" + getSpeciesName() + "|" }, { >>> "\"Date\"" , dateToday }, { "UID", hjid } }); >>> >> >>> >> } >>> >> >>> >> } >>> >> >>> >> // otherwise process as normal >>> >> >>> >> else { >>> >> >>> >> _Log .debug("Processing raw ID: " + id + " for surrogate " + hjid); >>> >> >>> >> tableManager.submit( >>> >> "OrderedLocusNames" , QueryType.insert , new String[][] { { "ID", id >>> }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, >>> { "UID", hjid } }); >>> >> >>> >> } >>> >> >>> >> } >>> >> >>> >> } >>> >> catch (SQLException sqlexc) { >>> >> >>> >> logSQLException(sqlexc, sqlQuery); >>> >> >>> >> } >>> >> >>> >> return result; >>> >> >>> >> } >>> >> >>> >> I have exported a gdb which contains 5472 gene id's as compared to the >>> previous 5338. The 134 gene id's with the prefix PFA_ are included plus >>> their underscore removed form. >>> >> >>> >> Zipped up and attached here and will later post to the wiki. >>> >> >>> >> Richard >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > Enable your software for Intel(R) Active Management Technology to meet >>> the >>> > growing manageability and security demands of your customers. >>> Businesses >>> > are taking advantage of Intel(R) vPro (TM) technology - will your >>> software >>> > be a part of the solution? Download the Intel(R) Manageability Checker >>> > today! http://p.sf.net/sfu/intel-dev2devmar >>> > >>> > _______________________________________________ >>> > xmlpipedb-developer mailing list >>> > xml...@li... >>> > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> > >>> > >>> > >>> > >>> > <ATT00001..txt><ATT00002..txt> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Enable your software for Intel(R) Active Management Technology to meet >>> the >>> growing manageability and security demands of your customers. Businesses >>> are taking advantage of Intel(R) vPro (TM) technology - will your >>> software >>> be a part of the solution? Download the Intel(R) Manageability Checker >>> today! http://p.sf.net/sfu/intel-dev2devmar >>> _______________________________________________ >>> xmlpipedb-developer mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >>> >> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> >> > |
From: Richard B. <rbr...@gm...> - 2011-03-30 00:29:09
|
Dondi, Thanks for the chat regarding this issue. I'm in agreement that since it is significant work to either: a) create a new repository (with the newer file system) and dump the original contents inside or b) get Sourceforge to upgrade to the latest version of SVN... it makes sense to manually do the merge 'file by file'. I will likely start this evening and can work on it slowly during the week, employing the strategy of modifying the files as needed, then change the branch working copy files to match the trunk working copy. As discussed, that will allow the local compare to keep track of the remaining changes. I will be sure NOT TO commit any local branch changes up to the repository. Richard On Tue, Mar 29, 2011 at 1:04 PM, John David N. Dionisio <do...@lm...>wrote: > We can do phone, but later in the afternoon. What's your schedule like > today? > > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Mar 29, 2011, at 12:54 PM, Richard Brous <rbr...@gm...> wrote: > > i'm using subclipse 1.6.17 so that is up to date. > > is it possible to talk through this on the phone? I have a few questions > after reading through the svn tutorial of how the merge is performed within > Eclipse. > > richard > > On Tue, Mar 29, 2011 at 12:38 PM, John David N. Dionisio <do...@lm...>wrote: > >> Hi Rich, >> >> The unknown with this error is whether this is a limitation on the server >> side (SourceForge) or client side (your copy of Subclipse/Subversion). If >> the former, that will need some investigation. Let's try with the latter >> case first: >> >> - Make sure you have the latest Subclipse/Subversion. According to >> Subclipse, they are at 1.6.17. >> >> - You might need to re-check out the projects if you updated Subclipse >> versions. >> >> - Try again. >> >> If the error persists, then this may be a server side issue, in which the >> action may be to *downgrade* the Subversion version. But we'll cross that >> bridge if/when we get to it. >> >> Hope this helps... >> >> John David N. Dionisio, PhD >> Associate Professor, Computer Science >> Loyola Marymount University >> >> >> On Mar 29, 2011, at 10:13 AM, Richard Brous wrote: >> >> > Hi Dondi, >> > >> > I'm working on the merge and have located the merge functionality under >> the team menu in Eclipse. >> > >> > The first menu requests a choice regarding the type of merge required. >> > I would expect the correct selection to be reintegrate branch. >> > >> > I then select the branch to merge and ask for conflicts of all types be >> noted for later review. >> > >> > Click finish and it attempts to merge but I receive an error message of >> the following: >> > org.tigris.subversion.javahl.ClientException: Trying to use an >> unsupported feature >> > svn: Querying mergeinfo requires version 3 of the FSFS filesystem >> schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 >> > org.tigris.subversion.javahl.ClientException: Trying to use an >> unsupported feature >> > svn: Querying mergeinfo requires version 3 of the FSFS filesystem >> schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 >> > Help please! >> > >> > Thanks. >> > >> > Richard >> > On Fri, Mar 25, 2011 at 3:50 PM, Richard Brous <rbr...@gm...> >> wrote: >> > ok, beta 63 is up on sourceforge. >> > >> > Richard >> > >> > On Fri, Mar 25, 2011 at 2:55 PM, Richard Brous <rbr...@gm...> >> wrote: >> > will do. i'll send out an email when completed. >> > >> > On Fri, Mar 25, 2011 at 11:30 AM, Kam Dahlquist <kda...@lm...> >> wrote: >> > Hi, >> > >> > I've checked the gdb and it looks OK. Richard, will you release a build >> of GenMAPP Builder with these changes so that I can test the export on one >> of my machines? I am going to work on the ReadMe for this gdb so we can >> release it. >> > >> > Once I've validated that the new version of GenMAPP Builder works, we'll >> be ready to move on to the code merge. >> > >> > Best, >> > Dr. D >> > >> > >> > At 09:15 PM 3/24/2011, you wrote: >> >> Sorry for the late reply... been laid up with a cold and barely >> functioning on cold medicine... >> >> >> >> I believe I have the Pfalciparum solved by using the following code: >> >> >> >> >> >> /** >> >> >> >> * >> >> >> >> @see >> edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.profiles.UniProtSpeciesProfile#getSystemTableManagerCustomizations(edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, >> edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, >> java.util.Date) >> >> >> >> */ >> >> >> >> @Override >> >> >> >> public TableManager getSystemTableManagerCustomizations(TableManager >> tableManager, TableManager primarySystemTableManager, Date version) throws >> SQLException, InvalidParameterException { >> >> >> >> // Start with the default OrderedLocusNames behavior. >> >> >> >> TableManager result = >> >> super .getSystemTableManagerCustomizations(tableManager, >> primarySystemTableManager, version); >> >> >> >> // Next, we add IDs from the other gene/name tags, but ONLY if they >> match >> >> >> >> // the pattern PF[A-Z][0-9]{4}[a-z]. >> >> >> >> //final String pfID = "PF[A-Z][0-9][0-9][0-9][0-9][a-z]"; >> >> >> >> //final String pfID2 = "PF[0-9][0-9]_[0-9][0-9][0-9][0-9]"; >> >> >> >> //final String pfID3 = "MAL[0-9]*P1.[0-9]*"; >> >> >> >> String sqlQuery = >> >> "select d.entrytype_gene_hjid as hjid, c.value " + >> >> >> >> "from genenametype c inner join entrytype_genetype d " + >> >> >> >> "on (c.entrytype_genetype_name_hjid = d.hjid) " + >> >> >> >> //"where (c.value similar to ? " + >> >> >> >> "where c.type = 'ORF'" + >> >> >> >> //"or c.value similar to ? " + >> >> >> >> //"or c.value similar to ?) " + >> >> >> >> //"and type <> 'ordered locus names' " + >> >> >> >> //"and type <> 'ORF' " + >> >> >> >> "group by d.entrytype_gene_hjid, c.value"; >> >> >> >> String dateToday = >> GenMAPPBuilderUtilities.getSystemsDateString(version); >> >> >> >> Connection c = ConnectionManager.getRelationalDBConnection(); >> >> >> >> PreparedStatement ps; >> >> >> >> ResultSet rs; >> >> >> >> try { >> >> >> >> // Query, iterate, add to table manager. >> >> >> >> ps = c.prepareStatement(sqlQuery); >> >> >> >> //ps.setString(1, pfID); >> >> >> >> //ps.setString(2, pfID2); >> >> >> >> //ps.setString(3, pfID3); >> >> >> >> rs = ps.executeQuery(); >> >> >> >> while (rs.next()) { >> >> >> >> String hjid = Long.valueOf(rs.getLong( >> >> "hjid" )).toString(); >> >> >> >> // capture unmodified value in string variable id >> >> >> >> // We want to remove the '_' here but also add id's with the '_' >> >> >> >> String id = rs.getString( >> >> "value" ); >> >> >> >> // condition if id matched pattern "PFA_" >> >> >> >> if (id.matches("PFA_.*" )) { >> >> >> >> String[] substrings = id.split("/" ); >> >> >> >> String new_id = null; >> >> >> >> String old_id = id; >> >> >> >> for (int i = 0; i < substrings.length ; i++) { >> >> >> >> new_id = substrings[i].replace("_" , ""); >> >> >> >> _Log.debug( "Remove '_' from " + id + " to create: " + new_id + " for >> surrogate " + hjid); >> >> >> >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { >> { "ID", new_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" >> , dateToday }, { "UID", hjid } }); >> >> >> >> _Log.debug( "Keep '_' from " + id + " to create: " + old_id + " for >> surrogate " + hjid); >> >> >> >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { >> { "ID", old_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" >> , dateToday }, { "UID", hjid } }); >> >> >> >> } >> >> >> >> } >> >> >> >> // otherwise process as normal >> >> >> >> else { >> >> >> >> _Log .debug("Processing raw ID: " + id + " for surrogate " + hjid); >> >> >> >> tableManager.submit( >> >> "OrderedLocusNames" , QueryType.insert , new String[][] { { "ID", id }, >> { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, { >> "UID", hjid } }); >> >> >> >> } >> >> >> >> } >> >> >> >> } >> >> catch (SQLException sqlexc) { >> >> >> >> logSQLException(sqlexc, sqlQuery); >> >> >> >> } >> >> >> >> return result; >> >> >> >> } >> >> >> >> I have exported a gdb which contains 5472 gene id's as compared to the >> previous 5338. The 134 gene id's with the prefix PFA_ are included plus >> their underscore removed form. >> >> >> >> Zipped up and attached here and will later post to the wiki. >> >> >> >> Richard >> > >> > >> ------------------------------------------------------------------------------ >> > Enable your software for Intel(R) Active Management Technology to meet >> the >> > growing manageability and security demands of your customers. Businesses >> > are taking advantage of Intel(R) vPro (TM) technology - will your >> software >> > be a part of the solution? Download the Intel(R) Manageability Checker >> > today! http://p.sf.net/sfu/intel-dev2devmar >> > >> > _______________________________________________ >> > xmlpipedb-developer mailing list >> > xml...@li... >> > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > >> > >> > >> > >> > <ATT00001..txt><ATT00002..txt> >> >> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> _______________________________________________ >> xmlpipedb-developer mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer >> > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > |
From: John D. N. D. <do...@lm...> - 2011-03-29 20:05:27
|
We can do phone, but later in the afternoon. What's your schedule like today? John David N. Dionisio, PhD Associate Professor, Computer Science Loyola Marymount University On Mar 29, 2011, at 12:54 PM, Richard Brous <rbr...@gm...> wrote: > i'm using subclipse 1.6.17 so that is up to date. > > is it possible to talk through this on the phone? I have a few questions after reading through the svn tutorial of how the merge is performed within Eclipse. > > richard > > On Tue, Mar 29, 2011 at 12:38 PM, John David N. Dionisio <do...@lm...> wrote: > Hi Rich, > > The unknown with this error is whether this is a limitation on the server side (SourceForge) or client side (your copy of Subclipse/Subversion). If the former, that will need some investigation. Let's try with the latter case first: > > - Make sure you have the latest Subclipse/Subversion. According to Subclipse, they are at 1.6.17. > > - You might need to re-check out the projects if you updated Subclipse versions. > > - Try again. > > If the error persists, then this may be a server side issue, in which the action may be to *downgrade* the Subversion version. But we'll cross that bridge if/when we get to it. > > Hope this helps... > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Mar 29, 2011, at 10:13 AM, Richard Brous wrote: > > > Hi Dondi, > > > > I'm working on the merge and have located the merge functionality under the team menu in Eclipse. > > > > The first menu requests a choice regarding the type of merge required. > > I would expect the correct selection to be reintegrate branch. > > > > I then select the branch to merge and ask for conflicts of all types be noted for later review. > > > > Click finish and it attempts to merge but I receive an error message of the following: > > org.tigris.subversion.javahl.ClientException: Trying to use an unsupported feature > > svn: Querying mergeinfo requires version 3 of the FSFS filesystem schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 > > org.tigris.subversion.javahl.ClientException: Trying to use an unsupported feature > > svn: Querying mergeinfo requires version 3 of the FSFS filesystem schema; filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 > > Help please! > > > > Thanks. > > > > Richard > > On Fri, Mar 25, 2011 at 3:50 PM, Richard Brous <rbr...@gm...> wrote: > > ok, beta 63 is up on sourceforge. > > > > Richard > > > > On Fri, Mar 25, 2011 at 2:55 PM, Richard Brous <rbr...@gm...> wrote: > > will do. i'll send out an email when completed. > > > > On Fri, Mar 25, 2011 at 11:30 AM, Kam Dahlquist <kda...@lm...> wrote: > > Hi, > > > > I've checked the gdb and it looks OK. Richard, will you release a build of GenMAPP Builder with these changes so that I can test the export on one of my machines? I am going to work on the ReadMe for this gdb so we can release it. > > > > Once I've validated that the new version of GenMAPP Builder works, we'll be ready to move on to the code merge. > > > > Best, > > Dr. D > > > > > > At 09:15 PM 3/24/2011, you wrote: > >> Sorry for the late reply... been laid up with a cold and barely functioning on cold medicine... > >> > >> I believe I have the Pfalciparum solved by using the following code: > >> > >> > >> /** > >> > >> * > >> > >> @see edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.profiles.UniProtSpeciesProfile#getSystemTableManagerCustomizations(edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, java.util.Date) > >> > >> */ > >> > >> @Override > >> > >> public TableManager getSystemTableManagerCustomizations(TableManager tableManager, TableManager primarySystemTableManager, Date version) throws SQLException, InvalidParameterException { > >> > >> // Start with the default OrderedLocusNames behavior. > >> > >> TableManager result = > >> super .getSystemTableManagerCustomizations(tableManager, primarySystemTableManager, version); > >> > >> // Next, we add IDs from the other gene/name tags, but ONLY if they match > >> > >> // the pattern PF[A-Z][0-9]{4}[a-z]. > >> > >> //final String pfID = "PF[A-Z][0-9][0-9][0-9][0-9][a-z]"; > >> > >> //final String pfID2 = "PF[0-9][0-9]_[0-9][0-9][0-9][0-9]"; > >> > >> //final String pfID3 = "MAL[0-9]*P1.[0-9]*"; > >> > >> String sqlQuery = > >> "select d.entrytype_gene_hjid as hjid, c.value " + > >> > >> "from genenametype c inner join entrytype_genetype d " + > >> > >> "on (c.entrytype_genetype_name_hjid = d.hjid) " + > >> > >> //"where (c.value similar to ? " + > >> > >> "where c.type = 'ORF'" + > >> > >> //"or c.value similar to ? " + > >> > >> //"or c.value similar to ?) " + > >> > >> //"and type <> 'ordered locus names' " + > >> > >> //"and type <> 'ORF' " + > >> > >> "group by d.entrytype_gene_hjid, c.value"; > >> > >> String dateToday = GenMAPPBuilderUtilities.getSystemsDateString(version); > >> > >> Connection c = ConnectionManager.getRelationalDBConnection(); > >> > >> PreparedStatement ps; > >> > >> ResultSet rs; > >> > >> try { > >> > >> // Query, iterate, add to table manager. > >> > >> ps = c.prepareStatement(sqlQuery); > >> > >> //ps.setString(1, pfID); > >> > >> //ps.setString(2, pfID2); > >> > >> //ps.setString(3, pfID3); > >> > >> rs = ps.executeQuery(); > >> > >> while (rs.next()) { > >> > >> String hjid = Long.valueOf(rs.getLong( > >> "hjid" )).toString(); > >> > >> // capture unmodified value in string variable id > >> > >> // We want to remove the '_' here but also add id's with the '_' > >> > >> String id = rs.getString( > >> "value" ); > >> > >> // condition if id matched pattern "PFA_" > >> > >> if (id.matches("PFA_.*" )) { > >> > >> String[] substrings = id.split("/" ); > >> > >> String new_id = null; > >> > >> String old_id = id; > >> > >> for (int i = 0; i < substrings.length ; i++) { > >> > >> new_id = substrings[i].replace("_" , ""); > >> > >> _Log.debug( "Remove '_' from " + id + " to create: " + new_id + " for surrogate " + hjid); > >> > >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { { "ID", new_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, { "UID", hjid } }); > >> > >> _Log.debug( "Keep '_' from " + id + " to create: " + old_id + " for surrogate " + hjid); > >> > >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { { "ID", old_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, { "UID", hjid } }); > >> > >> } > >> > >> } > >> > >> // otherwise process as normal > >> > >> else { > >> > >> _Log .debug("Processing raw ID: " + id + " for surrogate " + hjid); > >> > >> tableManager.submit( > >> "OrderedLocusNames" , QueryType.insert , new String[][] { { "ID", id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, { "UID", hjid } }); > >> > >> } > >> > >> } > >> > >> } > >> catch (SQLException sqlexc) { > >> > >> logSQLException(sqlexc, sqlQuery); > >> > >> } > >> > >> return result; > >> > >> } > >> > >> I have exported a gdb which contains 5472 gene id's as compared to the previous 5338. The 134 gene id's with the prefix PFA_ are included plus their underscore removed form. > >> > >> Zipped up and attached here and will later post to the wiki. > >> > >> Richard > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer |
From: Richard B. <rbr...@gm...> - 2011-03-29 19:54:47
|
i'm using subclipse 1.6.17 so that is up to date. is it possible to talk through this on the phone? I have a few questions after reading through the svn tutorial of how the merge is performed within Eclipse. richard On Tue, Mar 29, 2011 at 12:38 PM, John David N. Dionisio <do...@lm...>wrote: > Hi Rich, > > The unknown with this error is whether this is a limitation on the server > side (SourceForge) or client side (your copy of Subclipse/Subversion). If > the former, that will need some investigation. Let's try with the latter > case first: > > - Make sure you have the latest Subclipse/Subversion. According to > Subclipse, they are at 1.6.17. > > - You might need to re-check out the projects if you updated Subclipse > versions. > > - Try again. > > If the error persists, then this may be a server side issue, in which the > action may be to *downgrade* the Subversion version. But we'll cross that > bridge if/when we get to it. > > Hope this helps... > > John David N. Dionisio, PhD > Associate Professor, Computer Science > Loyola Marymount University > > > On Mar 29, 2011, at 10:13 AM, Richard Brous wrote: > > > Hi Dondi, > > > > I'm working on the merge and have located the merge functionality under > the team menu in Eclipse. > > > > The first menu requests a choice regarding the type of merge required. > > I would expect the correct selection to be reintegrate branch. > > > > I then select the branch to merge and ask for conflicts of all types be > noted for later review. > > > > Click finish and it attempts to merge but I receive an error message of > the following: > > org.tigris.subversion.javahl.ClientException: Trying to use an > unsupported feature > > svn: Querying mergeinfo requires version 3 of the FSFS filesystem schema; > filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 > > org.tigris.subversion.javahl.ClientException: Trying to use an > unsupported feature > > svn: Querying mergeinfo requires version 3 of the FSFS filesystem schema; > filesystem '/nfs/sf-svn-symlinks/xmlpipedb/db' uses only version 2 > > Help please! > > > > Thanks. > > > > Richard > > On Fri, Mar 25, 2011 at 3:50 PM, Richard Brous <rbr...@gm...> > wrote: > > ok, beta 63 is up on sourceforge. > > > > Richard > > > > On Fri, Mar 25, 2011 at 2:55 PM, Richard Brous <rbr...@gm...> > wrote: > > will do. i'll send out an email when completed. > > > > On Fri, Mar 25, 2011 at 11:30 AM, Kam Dahlquist <kda...@lm...> > wrote: > > Hi, > > > > I've checked the gdb and it looks OK. Richard, will you release a build > of GenMAPP Builder with these changes so that I can test the export on one > of my machines? I am going to work on the ReadMe for this gdb so we can > release it. > > > > Once I've validated that the new version of GenMAPP Builder works, we'll > be ready to move on to the code merge. > > > > Best, > > Dr. D > > > > > > At 09:15 PM 3/24/2011, you wrote: > >> Sorry for the late reply... been laid up with a cold and barely > functioning on cold medicine... > >> > >> I believe I have the Pfalciparum solved by using the following code: > >> > >> > >> /** > >> > >> * > >> > >> @see > edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.profiles.UniProtSpeciesProfile#getSystemTableManagerCustomizations(edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, > edu.lmu.xmlpipedb.gmbuilder.databasetoolkit.tables.TableManager, > java.util.Date) > >> > >> */ > >> > >> @Override > >> > >> public TableManager getSystemTableManagerCustomizations(TableManager > tableManager, TableManager primarySystemTableManager, Date version) throws > SQLException, InvalidParameterException { > >> > >> // Start with the default OrderedLocusNames behavior. > >> > >> TableManager result = > >> super .getSystemTableManagerCustomizations(tableManager, > primarySystemTableManager, version); > >> > >> // Next, we add IDs from the other gene/name tags, but ONLY if they > match > >> > >> // the pattern PF[A-Z][0-9]{4}[a-z]. > >> > >> //final String pfID = "PF[A-Z][0-9][0-9][0-9][0-9][a-z]"; > >> > >> //final String pfID2 = "PF[0-9][0-9]_[0-9][0-9][0-9][0-9]"; > >> > >> //final String pfID3 = "MAL[0-9]*P1.[0-9]*"; > >> > >> String sqlQuery = > >> "select d.entrytype_gene_hjid as hjid, c.value " + > >> > >> "from genenametype c inner join entrytype_genetype d " + > >> > >> "on (c.entrytype_genetype_name_hjid = d.hjid) " + > >> > >> //"where (c.value similar to ? " + > >> > >> "where c.type = 'ORF'" + > >> > >> //"or c.value similar to ? " + > >> > >> //"or c.value similar to ?) " + > >> > >> //"and type <> 'ordered locus names' " + > >> > >> //"and type <> 'ORF' " + > >> > >> "group by d.entrytype_gene_hjid, c.value"; > >> > >> String dateToday = > GenMAPPBuilderUtilities.getSystemsDateString(version); > >> > >> Connection c = ConnectionManager.getRelationalDBConnection(); > >> > >> PreparedStatement ps; > >> > >> ResultSet rs; > >> > >> try { > >> > >> // Query, iterate, add to table manager. > >> > >> ps = c.prepareStatement(sqlQuery); > >> > >> //ps.setString(1, pfID); > >> > >> //ps.setString(2, pfID2); > >> > >> //ps.setString(3, pfID3); > >> > >> rs = ps.executeQuery(); > >> > >> while (rs.next()) { > >> > >> String hjid = Long.valueOf(rs.getLong( > >> "hjid" )).toString(); > >> > >> // capture unmodified value in string variable id > >> > >> // We want to remove the '_' here but also add id's with the '_' > >> > >> String id = rs.getString( > >> "value" ); > >> > >> // condition if id matched pattern "PFA_" > >> > >> if (id.matches("PFA_.*" )) { > >> > >> String[] substrings = id.split("/" ); > >> > >> String new_id = null; > >> > >> String old_id = id; > >> > >> for (int i = 0; i < substrings.length ; i++) { > >> > >> new_id = substrings[i].replace("_" , ""); > >> > >> _Log.debug( "Remove '_' from " + id + " to create: " + new_id + " for > surrogate " + hjid); > >> > >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { > { "ID", new_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" > , dateToday }, { "UID", hjid } }); > >> > >> _Log.debug( "Keep '_' from " + id + " to create: " + old_id + " for > surrogate " + hjid); > >> > >> result.submit( "OrderedLocusNames", QueryType.insert , new String[][] { > { "ID", old_id }, { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" > , dateToday }, { "UID", hjid } }); > >> > >> } > >> > >> } > >> > >> // otherwise process as normal > >> > >> else { > >> > >> _Log .debug("Processing raw ID: " + id + " for surrogate " + hjid); > >> > >> tableManager.submit( > >> "OrderedLocusNames" , QueryType.insert , new String[][] { { "ID", id }, > { "Species" , "|" + getSpeciesName() + "|" }, { "\"Date\"" , dateToday }, { > "UID", hjid } }); > >> > >> } > >> > >> } > >> > >> } > >> catch (SQLException sqlexc) { > >> > >> logSQLException(sqlexc, sqlQuery); > >> > >> } > >> > >> return result; > >> > >> } > >> > >> I have exported a gdb which contains 5472 gene id's as compared to the > previous 5338. The 134 gene id's with the prefix PFA_ are included plus > their underscore removed form. > >> > >> Zipped up and attached here and will later post to the wiki. > >> > >> Richard > > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet > the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your > software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > xmlpipedb-developer mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > > > > > > > > > > <ATT00001..txt><ATT00002..txt> > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > xmlpipedb-developer mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlpipedb-developer > |