CONFIG

CONFIG#

gdsfactory can store settings in a .env file in the current directory or any parent directories.

You can create a .env file in this directory, restart the notebook and see what CONFIG values you are getting.

difftest_ignore_cell_name_differences=True
difftest_ignore_sliver_differences=False
difftest_ignore_label_differences=False
layer_error_path=[1000, 0]
max_cellname_length=99
import gdsfactory as gf

gf.CONF
Settings(n_threads=4, logfilter=LogFilter(level=<LogLevel.INFO: 'INFO'>, regex=None), display_type='image', meta_format='v2', console=<console width=115 ColorSystem.TRUECOLOR>, max_cellname_length=32, write_context_info=True, write_cell_properties=True, wrtie_file_properties=True, allow_width_mismatch=False, allow_layer_mismatch=False, allow_type_mismatch=False, check_instances=<CHECK_INSTANCES.RAISE: 'error'>, connect_use_mirror=False, connect_use_angle=True, cell_overwrite_existing=False, cell_layout_cache=False, difftest_ignore_label_differences=False, difftest_ignore_sliver_differences=False, difftest_ignore_cell_name_differences=True, bend_radius_error_type=<ErrorType.ERROR: 1>, layer_error_path=(1000, 0), pdk=None)