Changeset f387050 in sasview for src/sas


Ignore:
Timestamp:
May 1, 2018 9:08:09 AM (7 years ago)
Author:
wojciech
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
86d6abd
Parents:
c9bf97b
Message:

Supressing cc error, still requires improvement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasview/sasview.py

    rc9bf97b rf387050  
    207207        # need shell=True on windows to keep console box from popping up 
    208208        shell = (os.name == 'nt') 
    209         subprocess.check_output("ccs", shell=shell, stderr=subprocess.STDOUT) 
     209        subprocess.check_output("cc", shell=shell, stderr=subprocess.STDOUT) 
    210210    except OSError: 
    211211        print("No compiler installed. Please follow installation instructions\n") 
    212     except subprocess.CalledProcessError: 
    213212        logger.error("No compiler installed. Please follow installation instructions\n") 
    214213        logger.error(traceback.format_exc()) 
     214    except subprocess.CalledProcessError: 
     215        pass 
    215216 
    216217def setup_sasmodels(): 
Note: See TracChangeset for help on using the changeset viewer.