Formatting.
This commit is contained in:
parent
d8481b4528
commit
fd8b281731
|
@ -481,10 +481,9 @@ void NETLIST_EXPORTER_SPICE::readModel( SCH_SHEET_PATH& aSheet, SCH_SYMBOL& aSym
|
|||
|
||||
if( !cacheFile.IsOpened() )
|
||||
{
|
||||
DisplayErrorMessage( m_dialogParent,
|
||||
wxString::Format( _( "Could not open file '%s' to write "
|
||||
"IBIS model" ),
|
||||
cacheFn.GetFullPath() ) );
|
||||
DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not open file '%s' "
|
||||
"to write IBIS model" ),
|
||||
cacheFn.GetFullPath() ) );
|
||||
}
|
||||
|
||||
auto spiceGenerator = static_cast<const SPICE_GENERATOR_KIBIS&>( kibisModel->SpiceGenerator() );
|
||||
|
@ -536,9 +535,9 @@ void NETLIST_EXPORTER_SPICE::writeInclude( OUTPUTFORMATTER& aFormatter, unsigned
|
|||
|
||||
if( fullPath.IsEmpty() )
|
||||
{
|
||||
DisplayErrorMessage( m_dialogParent,
|
||||
wxString::Format( _( "Could not find library file '%s'" ),
|
||||
expandedPath ) );
|
||||
DisplayErrorMessage( m_dialogParent, wxString::Format( _( "Could not find library file "
|
||||
"'%s'" ),
|
||||
expandedPath ) );
|
||||
fullPath = expandedPath;
|
||||
}
|
||||
else if( wxFileName::GetPathSeparator() == '\\' )
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2021 CERN
|
||||
* Copyright (C) 2021-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* @author Wayne Stambaugh <stambaughw@gmail.com>
|
||||
*
|
||||
|
@ -47,10 +48,10 @@ bool SPICE_SIMULATOR_SETTINGS::operator==( const SPICE_SIMULATOR_SETTINGS &aRhs
|
|||
}
|
||||
|
||||
|
||||
NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS(
|
||||
JSON_SETTINGS* aParent, const std::string& aPath ) :
|
||||
SPICE_SIMULATOR_SETTINGS( aParent, aPath ),
|
||||
m_modelMode( NGSPICE_MODEL_MODE::USER_CONFIG )
|
||||
NGSPICE_SIMULATOR_SETTINGS::NGSPICE_SIMULATOR_SETTINGS( JSON_SETTINGS* aParent,
|
||||
const std::string& aPath ) :
|
||||
SPICE_SIMULATOR_SETTINGS( aParent, aPath ),
|
||||
m_modelMode( NGSPICE_MODEL_MODE::USER_CONFIG )
|
||||
{
|
||||
m_params.emplace_back( new PARAM_ENUM<NGSPICE_MODEL_MODE>( "model_mode", &m_modelMode,
|
||||
NGSPICE_MODEL_MODE::USER_CONFIG,
|
||||
|
|
Loading…
Reference in New Issue