Ignore:
Timestamp:
Feb 4, 2020 9:24:48 PM (20 months ago)
Author:
maronga
Message:

removed PALM_BIN dependencies in GUI tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_gf_files/palm_gf_tools.py

    • Property svn:keywords set to Id
    r2309 r4393  
     1#!/usr/bin/env python
     2# -*- coding: utf-8 -*-
     3#--------------------------------------------------------------------------------#
     4# This file is part of the PALM model system.
     5#
     6# PALM is free software: you can redistribute it and/or modify it under the terms
     7# of the GNU General Public License as published by the Free Software Foundation,
     8# either version 3 of the License, or (at your option) any later version.
     9#
     10# PALM is distributed in the hope that it will be useful, but WITHOUT ANY
     11# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     12# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     13#
     14# You should have received a copy of the GNU General Public License along with
     15# PALM. If not, see <http://www.gnu.org/licenses/>.
     16#
     17# Copyright 1997-2018  Leibniz Universitaet Hannover
     18#--------------------------------------------------------------------------------#
     19#
     20# Current revisions:
     21# -----------------
     22#
     23#
     24# Former revisions:
     25# -----------------
     26# $Id$
     27# Initial revision
     28#
     29#
     30#
     31#
     32#
     33# Description:
     34# ------------
     35#
     36#
     37# Instructions:
     38# -------------
     39#
     40#------------------------------------------------------------------------------!
     41
    142import sys
    243import os
     
    647import palm_gf_conf as configwr
    748   
    8 out = sub.check_output("echo $PALM_BIN", shell=True, stderr=sub.STDOUT)
    9 palm_bin = out.rstrip()
     49palm_dir = os.getcwd()
     50palm_bin = palm_dir + '/trunk/SCRIPTS'
    1051
    1152qtCreatorFile = palm_bin + '/palm_gf_files/palm_gf_table.ui'
Note: See TracChangeset for help on using the changeset viewer.