Bioinformatics.org
[University of Birmingham]
[Patsnap]
Not logged in
  • Log in
  • Bioinformatics.org
    Membership (44430+) Group hosting [?] Wiki
    Franklin Award
    Sponsorships

    Careers
    About bioinformatics
    Bioinformatics jobs

    Research
    All information groups
    Online databases Online analysis tools Online education tools More tools

    Development
    All software groups
    FTP repository
    SVN & CVS repositories [?]
    Mailing lists

    Forums
    News & Commentary
  • Submit
  • Archives
  • Subscribe

  • Jobs Forum
    (Career Center)
  • Submit
  • Archives
  • Subscribe
  • CATCH - Support tickets

    Submit | Open tickets | Closed tickets

    [ Ticket #681 ] backslash in pwig filenames
    Date:
    01/06/09 06:57
    Submitted by:
    glyn_dk
    Assigned to:
    glyn_dk
    Category:
    conversion wig -> pwig
    Priority:
    5
    Ticket group:
    reproducible
    Resolution:
    Resolved
    Summary:
    backslash in pwig filenames
    Original submission:
    - Import files (Advanced view)
    - import and select one or more wig files
    - import and select a bed file
    - click 'convert selected'

    Bug:
    - The generated pwig files appear in the list of the wig files
    - The filenames of the generated pwig files contain backslashes instead of slashes, resulting in a long filename instead of indicating the path of the file

    How to solve:
    - Find out where the backslashes '' are introduced in the filename, replace them by slash '/'
    - Ensure that the pwig files are added to the list of pwig files and not the list of wig files
    Please log in to add comments and receive followups via email.
    Followups
    Comment Date By
    Fixed in rev 227

    // Quick and ugly fix for the delimiter
    String os = System.getProperty("os.name").toLowerCase();
    String delimiter = "/"; // slash for most linux and *nix systems
    if (os.contains("windows") || os.contains("nt")){
    delimiter = "\"; // backslash for windows
    }

    String trackname = path + delimiter + BEDname + "_" + wigglename + ".pwig";


    fixed the list problem in FileInterfaceGUI:

    this line:
    DefaultListModel pwigs = (DefaultListModel)wigList.getModel();

    changed to:
    DefaultListModel pwigs = (DefaultListModel)pwigList.getModel();
    01/08/09 10:06 glyn_dk
    No results for "Dependent on ticket"
    No results for "Dependent on Task"
    No other tickets are dependent on this ticket
    Ticket change history
    Field Old value Date By
    status_id Unset 01/08/09 10:06 glyn_dk
    assigned_to unset 01/08/09 10:06 glyn_dk
    resolution_id Unset 01/08/09 10:06 glyn_dk
    close_date 12/31/69 19:00 01/08/09 10:06 glyn_dk

     

    Copyright © 2024 Scilico, LLC · Privacy Policy