IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15644


Ignore:
Timestamp:
Nov 16, 2007, 4:20:39 PM (18 years ago)
Author:
Paul Price
Message:

Updating code to get the scheme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/warp_overlap.pl

    r14692 r15644  
    2929                       metadataLookupBool
    3030                       caturi
     31                       file_scheme
    3132                       );
    3233my $ipprc = PS::IPP::Config->new(); # IPP configuration
     
    114115    foreach my $tess_id ( keys %$tessellations ) {
    115116        ### Because DVO doesn't use psModules, it doesn't understand Nebulous --- check
    116         my ($scheme) = $$tessellations{$tess_id} =~ m|^(\S+):|; # The scheme, e.g., file://, path://
     117        my $scheme = file_scheme($$tessellations{$tess_id}); # The scheme, e.g., file, path, neb
    117118        if (defined $scheme and lc($scheme) eq 'neb') {
    118119            &my_die("Tessellation $tess_id refers to a Nebulous path: $$tessellations{$tess_id}", $warp_id, $PS_EXIT_CONFIG_ERROR);
Note: See TracChangeset for help on using the changeset viewer.